You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
gif: do not set avctx->coded_frame
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user