summaryrefslogtreecommitdiff
path: root/libavcodec/screenpresso.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/screenpresso.c')
-rw-r--r--libavcodec/screenpresso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/screenpresso.c b/libavcodec/screenpresso.c
index fb8bfd4701..5fac100897 100644
--- a/libavcodec/screenpresso.c
+++ b/libavcodec/screenpresso.c
@@ -145,7 +145,7 @@ static int screenpresso_decode_frame(AVCodecContext *avctx, void *data,
return AVERROR_UNKNOWN;
}
- ret = ff_reget_buffer(avctx, ctx->current);
+ ret = ff_reget_buffer(avctx, ctx->current, 0);
if (ret < 0)
return ret;