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
avformat/electronicarts: detect endianness by comparing sizes instead of using an arbitrary threshold
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer
12 years ago
parent
a07d4bc80a
commit
55328d5f72
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/electronicarts.c
+ 1
- 1
libavformat/electronicarts.c
View File
@@ -357,7 +357,7 @@ static int process_ea_header(AVFormatContext *s)
blockid = avio_rl32(pb);
size = avio_rl32(pb);
if (i == 0)
ea->big_endian = size >
0x000FFFFF
;
ea->big_endian = size >
av_bswap32(size)
;
if (ea->big_endian)
size = av_bswap32(size);
Write
Preview
Loading…
Cancel
Save