X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fkmvc.c;h=aa2aaace6c8828225e4eb0df627f1c74c1d9ab8d;hb=2905e3ff6462431d55f89614b24e2a407707c82a;hp=0bc7e944c6d94b4e901f4467c37c116f2eaa48d2;hpb=707e8612e85ba83fcbbfc56be3f4ab24af7e98fb;p=ffmpeg diff --git a/libavcodec/kmvc.c b/libavcodec/kmvc.c index 0bc7e944c6d..aa2aaace6c8 100644 --- a/libavcodec/kmvc.c +++ b/libavcodec/kmvc.c @@ -375,6 +375,7 @@ static av_cold int decode_init(AVCodecContext * avctx) c->setpal = 1; } + avcodec_get_frame_defaults(&c->pic); avctx->pix_fmt = PIX_FMT_PAL8; return 0;