mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-11-17 18:02:23 +03:00
Fix some mov files with little endian audio (tickets 201 - 203).
This commit is contained in:
1 parent
e280a4da2a
commit
d2549ba9df
1 file changed
+1
-1
+1
-1
@@ -718,7 +718,7 @@ static int mov_read_enda(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
||||
return 0;
|
||||
st = c->fc->streams[c->fc->nb_streams-1];
|
||||
|
||||
little_endian = avio_rb16(pb);
|
||||
little_endian = avio_rb16(pb) & 0xFF;
|
||||
av_dlog(c->fc, "enda %d\n", little_endian);
|
||||
if (little_endian == 1) {
|
||||
switch (st->codec->codec_id) {
|
||||
|
||||
Reference in new issue
Block a user