aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/smacker.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/smacker.c')
-rw-r--r--libavcodec/smacker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c
index bef44b89b5..b8eab837ff 100644
--- a/libavcodec/smacker.c
+++ b/libavcodec/smacker.c
@@ -515,6 +515,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
avctx->pix_fmt = PIX_FMT_PAL8;
+ avcodec_get_frame_defaults(&c->pic);
/* decode huffman trees from extradata */
if(avctx->extradata_size < 16){