mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
gif: Fix little endian specific code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
147a45fca4
commit
53efb2fa09
@ -163,7 +163,7 @@ static int gif_image_write_image(AVCodecContext *avctx,
|
||||
if (!pal_exdata)
|
||||
return AVERROR(ENOMEM);
|
||||
memcpy(pal_exdata, s->palette, AVPALETTE_SIZE);
|
||||
pal_exdata[trans*4 + 3] = 0x00;
|
||||
pal_exdata[trans*4 + 3*!HAVE_BIGENDIAN] = 0x00;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user