Commit 64d11cb6 authored by Michael Niedermayer's avatar Michael Niedermayer

mss1: set frame defaults

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 80661e0f
...@@ -193,7 +193,8 @@ static av_cold int mss1_decode_init(AVCodecContext *avctx) ...@@ -193,7 +193,8 @@ static av_cold int mss1_decode_init(AVCodecContext *avctx)
int ret; int ret;
c->ctx.avctx = avctx; c->ctx.avctx = avctx;
avctx->coded_frame = &c->pic;
avcodec_get_frame_defaults(&c->pic);
ret = ff_mss12_decode_init(&c->ctx, 0, &c->sc, NULL); ret = ff_mss12_decode_init(&c->ctx, 0, &c->sc, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment