diff options
author | Don Moir <donmoir@comcast.net> | 2012-12-30 17:21:25 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-12-30 17:21:25 +0000 |
commit | 522cb6abf22a2d28aecbd5dbfe174689fa937565 (patch) | |
tree | 550ad21d357fed9b438b7e879e5ca55b772bd3e9 /libavcodec | |
parent | b84871b8eba5370afd5f0cef0f5cbd481291be01 (diff) | |
download | ffmpeg-522cb6abf22a2d28aecbd5dbfe174689fa937565.tar.gz |
gifdec: use transparent instead of background color index
Wrong code was commited in 64f4fb75c4cea6b33b5fd5b135c19950df9a7154.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/gifdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c index a0ffe77183..b7aafb2cf2 100644 --- a/libavcodec/gifdec.c +++ b/libavcodec/gifdec.c @@ -202,7 +202,7 @@ static int gif_read_image(GifState *s) s->gce_w = width; s->gce_h = height; if (s->gce_disposal == GCE_DISPOSAL_BACKGROUND) { - if (s->background_color_index >= 0) + if (s->transparent_color_index >= 0) s->stored_bg_color = s->trans_color; else s->stored_bg_color = s->bg_color; |