# HG changeset patch # User bcoudurier # Date 1231539217 0 # Node ID bc40129f13cc1cf1cd3ea8986e4379297143c97d # Parent 046a97603352b744e83589d52fe94e0cf0a18038 only set le if value is 1, fix boom5.mov, issue #770 diff -r 046a97603352 -r bc40129f13cc mov.c --- a/mov.c Fri Jan 09 20:10:13 2009 +0000 +++ b/mov.c Fri Jan 09 22:13:37 2009 +0000 @@ -575,7 +575,8 @@ 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;