summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-08-23 15:25:38 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-08-23 15:25:38 +0000
commit7e4b3fb87810822177ae4ccf3604728b055e02d6 (patch)
treec15ea4afdb0061fc24c9bd63b93c0320ff527a8c
parent56523713e518e690c338b624542c0fd635cdbb98 (diff)
enable fl32/64 le/be in mov with stsd audio v2
Originally committed as revision 14919 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mov.c6
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) {