Browse Source

mss1: set frame defaults

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 13 years ago
parent
commit
64d11cb615
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavcodec/mss1.c

+ 2
- 1
libavcodec/mss1.c 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);



Loading…
Cancel
Save