[FFmpeg-cvslog] gif: do not set avctx->coded_frame

Paul B Mahol git at videolan.org
Mon Jul 8 01:08:53 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Jul  7 22:56:21 2013 +0000| [bd03f99d05d0b55c9fe632e970650a19ab7930c9] | committer: Paul B Mahol

gif: do not set avctx->coded_frame

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bd03f99d05d0b55c9fe632e970650a19ab7930c9
---

 libavcodec/gif.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/gif.c b/libavcodec/gif.c
index 7a5e287..388f9b2 100644
--- a/libavcodec/gif.c
+++ b/libavcodec/gif.c
@@ -217,7 +217,6 @@ static av_cold int gif_encode_init(AVCodecContext *avctx)
         return AVERROR(EINVAL);
     }
 
-    avctx->coded_frame = &s->picture;
     s->lzw = av_mallocz(ff_lzw_encode_state_size);
     s->buf = av_malloc(avctx->width*avctx->height*2);
     s->tmpl = av_malloc(avctx->width);



More information about the ffmpeg-cvslog mailing list