diff options
Diffstat (limited to 'libavcodec/vqavideo.c')
-rw-r--r-- | libavcodec/vqavideo.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c index 6510582cd6..a47e2db041 100644 --- a/libavcodec/vqavideo.c +++ b/libavcodec/vqavideo.c @@ -598,10 +598,8 @@ static int vqa_decode_frame(AVCodecContext *avctx, AVFrame *frame = data; int res; - if ((res = ff_get_buffer(avctx, frame, 0)) < 0) { - av_log(s->avctx, AV_LOG_ERROR, "get_buffer() failed\n"); + if ((res = ff_get_buffer(avctx, frame, 0)) < 0) return res; - } bytestream2_init(&s->gb, avpkt->data, avpkt->size); if ((res = vqa_decode_chunk(s, frame)) < 0) |