mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
fix big endian files support
Originally committed as revision 10801 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7816845064
commit
597958ada7
@ -290,7 +290,7 @@ static int ea_read_packet(AVFormatContext *s,
|
||||
|
||||
while (!packet_read) {
|
||||
chunk_type = get_le32(pb);
|
||||
chunk_size = get_le32(pb) - 8;
|
||||
chunk_size = (ea->big_endian ? get_be32(pb) : get_le32(pb)) - 8;
|
||||
|
||||
switch (chunk_type) {
|
||||
/* audio data */
|
||||
|
Loading…
x
Reference in New Issue
Block a user