From 3bec6a44eab4f17c43c4e653d024c4d3f241a314 Mon Sep 17 00:00:00 2001
From: Paul B Mahol <onemda@gmail.com>
Date: Sun, 7 Jul 2013 23:45:17 +0000
Subject: [PATCH] zmbvenc: do not set avctx->coded_frame

Signed-off-by: Paul B Mahol <onemda@gmail.com>
---
 libavcodec/zmbvenc.c | 2 --
 1 file changed, 2 deletions(-)

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