diff options
Diffstat (limited to 'libavcodec/vcr1.c')
-rw-r--r-- | libavcodec/vcr1.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/vcr1.c b/libavcodec/vcr1.c index 6ef7165c8d..e9c988e90a 100644 --- a/libavcodec/vcr1.c +++ b/libavcodec/vcr1.c @@ -59,10 +59,8 @@ static int vcr1_decode_frame(AVCodecContext *avctx, void *data, return AVERROR(EINVAL); } - 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; p->key_frame = 1; |