Commit 5e5499df authored by aurel's avatar aurel

fix big endian files support

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10801 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c31a10c7
...@@ -290,7 +290,7 @@ static int ea_read_packet(AVFormatContext *s, ...@@ -290,7 +290,7 @@ static int ea_read_packet(AVFormatContext *s,
while (!packet_read) { while (!packet_read) {
chunk_type = get_le32(pb); 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) { switch (chunk_type) {
/* audio data */ /* audio data */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment