diff options
author | Paul B Mahol <onemda@gmail.com> | 2015-02-10 14:20:32 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2015-02-10 14:20:32 +0000 |
commit | 392d975efe9424fe7b1ab3ae308f93f8a51b6c4e (patch) | |
tree | ab9b6192d2508d59a1041dad5ef3ef3d9234dffd /libavcodec/fic.c | |
parent | 9b22e460adb2e8d6f89916c129240042275404cc (diff) | |
download | ffmpeg-392d975efe9424fe7b1ab3ae308f93f8a51b6c4e.tar.gz |
avcodec: fix clobbered ff_get_buffer()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/fic.c')
-rw-r--r-- | libavcodec/fic.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/fic.c b/libavcodec/fic.c index adc8a25d4c..48e7a6ea0a 100644 --- a/libavcodec/fic.c +++ b/libavcodec/fic.c @@ -266,10 +266,8 @@ static int fic_decode_frame(AVCodecContext *avctx, void *data, int skip_cursor = 0; uint8_t *sdata; - if ((ret = ff_reget_buffer(avctx, ctx->frame)) < 0) { - av_log(avctx, AV_LOG_ERROR, "reget_buffer() failed\n"); + if ((ret = ff_reget_buffer(avctx, ctx->frame)) < 0) return ret; - } /* Header + at least one slice (4) */ if (avpkt->size < FIC_HEADER_SIZE + 4) { |