mss1: set frame defaults

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/12/merge
Michael Niedermayer 12 years ago
parent 80661e0f55
commit 64d11cb615
  1. 3
      libavcodec/mss1.c

@ -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);

Loading…
Cancel
Save