[FFmpeg-cvslog] r14506 - trunk/libavformat/mov.c
bcoudurier
subversion
Sat Aug 2 05:43:36 CEST 2008
Author: bcoudurier
Date: Sat Aug 2 05:43:36 2008
New Revision: 14506
Log:
keep original codec/fourcc endianess, fix XDCAMHD.mov
Modified:
trunk/libavformat/mov.c
Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c (original)
+++ trunk/libavformat/mov.c Sat Aug 2 05:43:36 2008
@@ -879,7 +879,9 @@ static int mov_read_stsd(MOVContext *c,
if (st->codec->bits_per_sample == 8)
st->codec->codec_id = CODEC_ID_PCM_S8;
else if (st->codec->bits_per_sample == 24)
- st->codec->codec_id = CODEC_ID_PCM_S24BE;
+ st->codec->codec_id =
+ st->codec->codec_id == CODEC_ID_PCM_S16BE ?
+ CODEC_ID_PCM_S24BE : CODEC_ID_PCM_S24LE;
break;
/* set values for old format before stsd version 1 appeared */
case CODEC_ID_MACE3:
More information about the ffmpeg-cvslog
mailing list