]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vb.c
Merge remote branch 'qatar/master'
[ffmpeg] / libavcodec / vb.c
index fc79f5d58681a85a518ea0054bada4d8ca2b4290..3fb59cf377429794f91644adc70c812dd1ed2773 100644 (file)
@@ -268,6 +268,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
 
     c->avctx = avctx;
     avctx->pix_fmt = PIX_FMT_PAL8;
+    avcodec_get_frame_defaults(&c->pic);
 
     c->frame      = av_mallocz(avctx->width * avctx->height);
     c->prev_frame = av_mallocz(avctx->width * avctx->height);