projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1943630
)
gif: do not set avctx->coded_frame
author
Paul B Mahol
<onemda@gmail.com>
Sun, 7 Jul 2013 22:56:21 +0000
(22:56 +0000)
committer
Paul 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
patch
|
blob
|
history
diff --git
a/libavcodec/gif.c
b/libavcodec/gif.c
index
7a5e287
..
388f9b2
100644
(file)
--- 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);