diff --git a/libavcodec/zmbvenc.c b/libavcodec/zmbvenc.c index a6b51ba306..79478de510 100644 --- a/libavcodec/zmbvenc.c +++ b/libavcodec/zmbvenc.c @@ -300,6 +300,8 @@ static av_cold int encode_init(AVCodecContext *avctx) return -1; } + avctx->coded_frame = (AVFrame*)&c->pic; + return 0; }