summaryrefslogtreecommitdiff
path: root/libavcodec/cpia.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/cpia.c')
-rw-r--r--libavcodec/cpia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cpia.c b/libavcodec/cpia.c
index f6d7332606..bf09e1a5db 100644
--- a/libavcodec/cpia.c
+++ b/libavcodec/cpia.c
@@ -100,7 +100,7 @@ static int cpia_decode_frame(AVCodecContext *avctx,
}
// Get buffer filled with previous frame
- if ((ret = ff_reget_buffer(avctx, frame)) < 0)
+ if ((ret = ff_reget_buffer(avctx, frame, 0)) < 0)
return ret;