Commit bd03f99d authored by Paul B Mahol's avatar Paul B Mahol

gif: do not set avctx->coded_frame

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 19436308
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment