mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
mss1: set frame defaults
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
80661e0f55
commit
64d11cb615
@ -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…
Reference in New Issue
Block a user