enable fl32/64 le/be in mov with stsd audio v2

Originally committed as revision 14919 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2008-08-23 15:25:38 +00:00
parent 56523713e5
commit 7e4b3fb878
1 changed files with 3 additions and 3 deletions

View File

@ -680,10 +680,10 @@ static int mov_get_lpcm_codec_id(int bps, int flags)
if (flags & 1) { // floating point
if (flags & 2) { // big endian
if (bps == 32) return CODEC_ID_PCM_F32BE;
//else if (bps == 64) return CODEC_ID_PCM_F64BE;
else if (bps == 64) return CODEC_ID_PCM_F64BE;
} else {
//if (bps == 32) return CODEC_ID_PCM_F32LE;
//else if (bps == 64) return CODEC_ID_PCM_F64LE;
if (bps == 32) return CODEC_ID_PCM_F32LE;
else if (bps == 64) return CODEC_ID_PCM_F64LE;
}
} else {
if (flags & 2) {