From e6ab862368fdde3856fce02a5f11451fc8d8ea48 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Thu, 18 Sep 2008 13:17:44 +0000 Subject: ZMBV encoder forgot to fill coded frame pointer Originally committed as revision 15359 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/zmbvenc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/zmbvenc.c') 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; } -- cgit v1.2.3