X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fcyuv.c;h=1c665aefc882b6735233dffc5579f62985065918;hb=4ccb7911baa761d373e28068b93db13a76a780b8;hp=79a84412e7eb40fd9eb8735fd294f414c786ba10;hpb=d3b379b95b0da8e4d612a9a1987ba6fd8f2bd8bf;p=ffmpeg diff --git a/libavcodec/cyuv.c b/libavcodec/cyuv.c index 79a84412e7e..1c665aefc88 100644 --- a/libavcodec/cyuv.c +++ b/libavcodec/cyuv.c @@ -53,6 +53,7 @@ static av_cold int cyuv_decode_init(AVCodecContext *avctx) return -1; s->height = avctx->height; avctx->pix_fmt = PIX_FMT_YUV411P; + avcodec_get_frame_defaults(&s->frame); return 0; }