[FFmpeg-cvslog] r16507 - trunk/libavformat/mov.c
bcoudurier
subversion
Fri Jan 9 23:13:38 CET 2009
Author: bcoudurier
Date: Fri Jan 9 23:13:37 2009
New Revision: 16507
Log:
only set le if value is 1, fix boom5.mov, issue #770
Modified:
trunk/libavformat/mov.c
Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c Fri Jan 9 21:10:13 2009 (r16506)
+++ trunk/libavformat/mov.c Fri Jan 9 23:13:37 2009 (r16507)
@@ -575,7 +575,8 @@ static int mov_read_enda(MOVContext *c,
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;
More information about the ffmpeg-cvslog
mailing list