Commit ae235593 authored by bcoudurier's avatar bcoudurier

only set le if value is 1, fix boom5.mov, issue #770

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16507 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b4eda08c
......@@ -575,7 +575,8 @@ static int mov_read_enda(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
AVStream *st = c->fc->streams[c->fc->nb_streams-1];
int little_endian = get_be16(pb);
if (little_endian) {
dprintf(c->fc, "enda %d\n", little_endian);
if (little_endian == 1) {
switch (st->codec->codec_id) {
case CODEC_ID_PCM_S24BE:
st->codec->codec_id = CODEC_ID_PCM_S24LE;
......
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