]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/fic.c
avcodec: fix clobbered ff_get_buffer()
[ffmpeg] / libavcodec / fic.c
index adc8a25d4c979e04da25905a622b3b15981c5aba..48e7a6ea0a9bcc1973703a25494dc9245f824cbf 100644 (file)
@@ -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) {