diff options
Diffstat (limited to 'libavcodec/pafvideo.c')
-rw-r--r-- | libavcodec/pafvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pafvideo.c b/libavcodec/pafvideo.c index 323c662c59..6b4771cbce 100644 --- a/libavcodec/pafvideo.c +++ b/libavcodec/pafvideo.c @@ -289,7 +289,7 @@ static int paf_video_decode(AVCodecContext *avctx, void *data, c->video_size / 32 - (int64_t)bytestream2_get_bytes_left(&c->gb) > c->video_size / 32 * (int64_t)avctx->discard_damaged_percentage / 100) return AVERROR_INVALIDDATA; - if ((ret = ff_reget_buffer(avctx, c->pic)) < 0) + if ((ret = ff_reget_buffer(avctx, c->pic, 0)) < 0) return ret; if (code & 0x20) { // frame is keyframe |