aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/iff.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/iff.c')
-rw-r--r--libavcodec/iff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/iff.c b/libavcodec/iff.c
index 2467781537..85a190f49c 100644
--- a/libavcodec/iff.c
+++ b/libavcodec/iff.c
@@ -339,6 +339,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
return AVERROR(ENOMEM);
s->bpp = avctx->bits_per_coded_sample;
+ avcodec_get_frame_defaults(&s->frame);
if ((err = extract_header(avctx, NULL)) < 0)
return err;