diff options
Diffstat (limited to 'libavcodec/anm.c')
-rw-r--r-- | libavcodec/anm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/anm.c b/libavcodec/anm.c index 778f38413e..cd1fcc5998 100644 --- a/libavcodec/anm.c +++ b/libavcodec/anm.c @@ -122,7 +122,7 @@ static int decode_frame(AVCodecContext *avctx, if (buf_size < 7) return AVERROR_INVALIDDATA; - if ((ret = ff_reget_buffer(avctx, s->frame)) < 0) + if ((ret = ff_reget_buffer(avctx, s->frame, 0)) < 0) return ret; dst = s->frame->data[0]; dst_end = s->frame->data[0] + s->frame->linesize[0]*avctx->height; |