From: Kostya Shishkov Date: Thu, 18 Sep 2008 13:17:44 +0000 (+0000) Subject: ZMBV encoder forgot to fill coded frame pointer X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e6ab862368fdde3856fce02a5f11451fc8d8ea48;p=ffmpeg ZMBV encoder forgot to fill coded frame pointer Originally committed as revision 15359 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/zmbvenc.c b/libavcodec/zmbvenc.c index a6b51ba306b..79478de510b 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; }