Skip to content
Snippets Groups Projects
Commit 64d11cb6 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

mss1: set frame defaults

parent 80661e0f
No related branches found
No related tags found
No related merge requests found
...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment