diff options
Diffstat (limited to 'libavcodec/vb.c')
-rw-r--r-- | libavcodec/vb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vb.c b/libavcodec/vb.c index fc79f5d..3fb59cf 100644 --- a/libavcodec/vb.c +++ b/libavcodec/vb.c @@ -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); |