summaryrefslogtreecommitdiff
path: root/libavcodec/gif.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-07-07 22:56:21 +0000
committerPaul B Mahol <onemda@gmail.com>2013-07-07 22:57:17 +0000
commitbd03f99d05d0b55c9fe632e970650a19ab7930c9 (patch)
treeacf1452da2e0775ed66d556650c476fadea023a7 /libavcodec/gif.c
parent19436308b48b8633d5984da384e78d65154b5130 (diff)
gif: do not set avctx->coded_frame
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/gif.c')
-rw-r--r--libavcodec/gif.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/gif.c b/libavcodec/gif.c
index 7a5e287c57..388f9b2718 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);