diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-12 12:11:50 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-12 12:17:58 +0100 |
commit | 64d11cb615a9d6591836bf87e76f8ee543467ded (patch) | |
tree | 60b0b001d850f6724b57bae3e677b228b0410a16 /libavcodec | |
parent | 80661e0f5586dfa561a3eb461464530c74a58b1d (diff) | |
download | ffmpeg-64d11cb615a9d6591836bf87e76f8ee543467ded.tar.gz |
mss1: set frame defaults
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mss1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mss1.c b/libavcodec/mss1.c index b6cd42555c..195f242525 100644 --- a/libavcodec/mss1.c +++ b/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); |