diff options
Diffstat (limited to 'libavcodec/cdxl.c')
-rw-r--r-- | libavcodec/cdxl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/cdxl.c b/libavcodec/cdxl.c index 8546e0bdb6..a46ba83d70 100644 --- a/libavcodec/cdxl.c +++ b/libavcodec/cdxl.c @@ -260,10 +260,8 @@ static int cdxl_decode_frame(AVCodecContext *avctx, void *data, return AVERROR_PATCHWELCOME; } - if ((ret = ff_get_buffer(avctx, p, 0)) < 0) { - av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); + if ((ret = ff_get_buffer(avctx, p, 0)) < 0) return ret; - } p->pict_type = AV_PICTURE_TYPE_I; if (encoding) { |