diff options
Diffstat (limited to 'libavcodec/c93.c')
-rw-r--r-- | libavcodec/c93.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/c93.c b/libavcodec/c93.c index 750941e021..b534669ca2 100644 --- a/libavcodec/c93.c +++ b/libavcodec/c93.c @@ -48,7 +48,10 @@ typedef enum { static av_cold int decode_init(AVCodecContext *avctx) { + C93DecoderContext *s = avctx->priv_data; avctx->pix_fmt = AV_PIX_FMT_PAL8; + avcodec_get_frame_defaults(&s->pictures[0]); + avcodec_get_frame_defaults(&s->pictures[1]); return 0; } |