[FFmpeg-devel] [PATCH 7/7] Fix for detecting opaque correctly.
Bjorn Roche
bjorn at giphy.com
Mon Oct 2 20:24:39 EEST 2017
From: Bjorn Roche <bjorn at xowave.com>
---
libavcodec/gif.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/gif.c b/libavcodec/gif.c
index 3ced6d4d45..758e16b83d 100644
--- a/libavcodec/gif.c
+++ b/libavcodec/gif.c
@@ -80,7 +80,7 @@ static int is_image_translucent(AVCodecContext *avctx,
const uint8_t *buf, const int linesize)
{
GIFContext *s = avctx->priv_data;
- uint8_t trans = s->transparent_index;
+ int trans = s->transparent_index;
int p;
const int m = avctx->width * avctx->height ;
--
2.14.1
More information about the ffmpeg-devel
mailing list