diff options
Diffstat (limited to 'libavcodec/tmv.c')
-rw-r--r-- | libavcodec/tmv.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/tmv.c b/libavcodec/tmv.c index 2e6a22badf..279298c2b3 100644 --- a/libavcodec/tmv.c +++ b/libavcodec/tmv.c @@ -46,10 +46,8 @@ static int tmv_decode_frame(AVCodecContext *avctx, void *data, unsigned x, y, fg, bg, c; int ret; - if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) { - av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); + if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) return ret; - } if (avpkt->size < 2*char_rows*char_cols) { av_log(avctx, AV_LOG_ERROR, |