mss1: set frame defaults

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-03-12 12:11:50 +01:00
parent 80661e0f55
commit 64d11cb615
1 changed files with 2 additions and 1 deletions

View File

@ -193,7 +193,8 @@ static av_cold int mss1_decode_init(AVCodecContext *avctx)
int ret;
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);