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