X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fsmc.c;h=2beb1ce29155fa7cd9cf6b3a5c97cdc2bd648d18;hb=9d6be83085ccb1f52b923064eb93566ddbb0a1f7;hp=3cb48347378dabe386cd06c1868367ed3b3240ff;hpb=5c363d3e595a9e5b7c42897b7aab91b91b154ac1;p=ffmpeg diff --git a/libavcodec/smc.c b/libavcodec/smc.c index 3cb48347378..2beb1ce2915 100644 --- a/libavcodec/smc.c +++ b/libavcodec/smc.c @@ -445,7 +445,7 @@ static int smc_decode_frame(AVCodecContext *avctx, bytestream2_init(&s->gb, buf, buf_size); - if ((ret = ff_reget_buffer(avctx, s->frame)) < 0) + if ((ret = ff_reget_buffer(avctx, s->frame, 0)) < 0) return ret; if (pal && pal_size == AVPALETTE_SIZE) {