diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-08-23 15:25:38 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-08-23 15:25:38 +0000 |
commit | 7e4b3fb87810822177ae4ccf3604728b055e02d6 (patch) | |
tree | c15ea4afdb0061fc24c9bd63b93c0320ff527a8c /libavformat/mov.c | |
parent | 56523713e518e690c338b624542c0fd635cdbb98 (diff) | |
download | ffmpeg-7e4b3fb87810822177ae4ccf3604728b055e02d6.tar.gz |
enable fl32/64 le/be in mov with stsd audio v2
Originally committed as revision 14919 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 8c077f549d..c068160ac4 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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) { |