diff options
Diffstat (limited to 'libavcodec/dpx.c')
-rw-r--r-- | libavcodec/dpx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c index bcd72d2..0d60a7e 100644 --- a/libavcodec/dpx.c +++ b/libavcodec/dpx.c @@ -179,10 +179,8 @@ static int decode_frame(AVCodecContext *avctx, return AVERROR_INVALIDDATA; } - 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; - } // Move pointer to offset from start of file buf = avpkt->data + offset; |