summaryrefslogtreecommitdiff
path: root/libavcodec/zmbvenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/zmbvenc.c')
-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;
}