X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Ftscc2.c;h=65fbb010f60b63c5606ed37a4949f3ec6b7912a6;hb=c371463915aef11fb8d052fd25313d0444a42cfd;hp=a8c7ee7996159377eb2083c47604b88cd7f94a44;hpb=a12063b118ad05409ff775ba30fab00265ad3031;p=ffmpeg diff --git a/libavcodec/tscc2.c b/libavcodec/tscc2.c index a8c7ee79961..65fbb010f60 100644 --- a/libavcodec/tscc2.c +++ b/libavcodec/tscc2.c @@ -240,7 +240,7 @@ static int tscc2_decode_frame(AVCodecContext *avctx, void *data, return buf_size; } - if ((ret = ff_reget_buffer(avctx, c->pic)) < 0) { + if ((ret = ff_reget_buffer(avctx, c->pic, 0)) < 0) { return ret; }