diff options
Diffstat (limited to 'libavcodec/msrle.c')
-rw-r--r-- | libavcodec/msrle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/msrle.c b/libavcodec/msrle.c index b83b3d2a41..9233b34cc5 100644 --- a/libavcodec/msrle.c +++ b/libavcodec/msrle.c @@ -93,7 +93,7 @@ static int msrle_decode_frame(AVCodecContext *avctx, if (buf_size < 2) //Minimally a end of picture code should be there return AVERROR_INVALIDDATA; - if ((ret = ff_reget_buffer(avctx, s->frame)) < 0) + if ((ret = ff_reget_buffer(avctx, s->frame, 0)) < 0) return ret; if (avctx->bits_per_coded_sample > 1 && avctx->bits_per_coded_sample <= 8) { |