diff options
Diffstat (limited to 'libavcodec/smc.c')
-rw-r--r-- | libavcodec/smc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/smc.c b/libavcodec/smc.c index 3f1b9742b8..ce5b72a2a3 100644 --- a/libavcodec/smc.c +++ b/libavcodec/smc.c @@ -425,6 +425,7 @@ static av_cold int smc_decode_init(AVCodecContext *avctx) s->avctx = avctx; avctx->pix_fmt = PIX_FMT_PAL8; + avcodec_get_frame_defaults(&s->frame); s->frame.data[0] = NULL; return 0; |