]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/tscc.c
pngdec: fix and simplify apng reference handling
[ffmpeg] / libavcodec / tscc.c
index fc1ec4de0d48dd41c719d26222b55dbdbec01133..6d03081bb0a3bdca8de2af076ba999bd646c67c0 100644 (file)
@@ -103,7 +103,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
         return AVERROR_UNKNOWN;
     }
 
-    if ((ret = ff_reget_buffer(avctx, frame)) < 0)
+    if ((ret = ff_reget_buffer(avctx, frame, 0)) < 0)
         return ret;
 
     if (ret != Z_DATA_ERROR) {