X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fzmbv.c;h=4bd159cc447d9c52103448351af9d3fbf67fce6f;hb=2dd2abe391ccf1b9140c6eea95767b5a8c503ddd;hp=3edbe921a1db82231024ee704425ef826586bc6f;hpb=ce5e49b0c2c11ec153834677fc5c903dd71d4e6e;p=ffmpeg diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c index 3edbe921a1d..4bd159cc447 100644 --- a/libavcodec/zmbv.c +++ b/libavcodec/zmbv.c @@ -599,6 +599,7 @@ static av_cold int decode_init(AVCodecContext *avctx) c->width = avctx->width; c->height = avctx->height; + avcodec_get_frame_defaults(&c->pic); c->bpp = avctx->bits_per_coded_sample;