aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2008-09-18 13:17:44 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2008-09-18 13:17:44 +0000
commite6ab862368fdde3856fce02a5f11451fc8d8ea48 (patch)
treec24170bb38bb899766c1a780cfc37f245f864fdc /libavcodec
parent4d6a1161c78d726e7a394b6249a83a3319bc75b9 (diff)
downloadffmpeg-e6ab862368fdde3856fce02a5f11451fc8d8ea48.tar.gz
ZMBV encoder forgot to fill coded frame pointer
Originally committed as revision 15359 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/zmbvenc.c2
1 files changed, 2 insertions, 0 deletions
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;
}