Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/kmvc.c')
-rw-r--r--libavcodec/kmvc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/kmvc.c b/libavcodec/kmvc.c
index 0bc7e944c6..aa2aaace6c 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;