gif: do not set avctx->coded_frame
authorPaul B Mahol <onemda@gmail.com>
Sun, 7 Jul 2013 22:56:21 +0000 (22:56 +0000)
committerPaul B Mahol <onemda@gmail.com>
Sun, 7 Jul 2013 22:57:17 +0000 (22:57 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/gif.c

index 7a5e287..388f9b2 100644 (file)
@@ -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);