This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
gif: Fix little endian specific code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer
12 years ago
parent
147a45fca4
commit
53efb2fa09
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/gif.c
+ 1
- 1
libavcodec/gif.c
View File
@@ -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;
}
}
Write
Preview
Loading…
Cancel
Save