summaryrefslogtreecommitdiff
path: root/libavcodec/rscc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/rscc.c')
-rw-r--r--libavcodec/rscc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rscc.c b/libavcodec/rscc.c
index f494c30ed8..bd0520950f 100644
--- a/libavcodec/rscc.c
+++ b/libavcodec/rscc.c
@@ -310,7 +310,7 @@ static int rscc_decode_frame(AVCodecContext *avctx, void *data,
}
/* Allocate when needed */
- ret = ff_reget_buffer(avctx, ctx->reference);
+ ret = ff_reget_buffer(avctx, ctx->reference, 0);
if (ret < 0)
goto end;