Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/anm.c')
-rw-r--r--libavcodec/anm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/anm.c b/libavcodec/anm.c
index e216c08441..02244f70e1 100644
--- a/libavcodec/anm.c
+++ b/libavcodec/anm.c
@@ -44,6 +44,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
if (avctx->extradata_size != 16*8 + 4*256)
return -1;
+ avcodec_get_frame_defaults(&s->frame);
s->frame.reference = 1;
buf = avctx->extradata + 16*8;