Commit 7e4b3fb8 authored by Baptiste Coudurier's avatar Baptiste Coudurier

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

Originally committed as revision 14919 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 56523713
...@@ -680,10 +680,10 @@ static int mov_get_lpcm_codec_id(int bps, int flags) ...@@ -680,10 +680,10 @@ static int mov_get_lpcm_codec_id(int bps, int flags)
if (flags & 1) { // floating point if (flags & 1) { // floating point
if (flags & 2) { // big endian if (flags & 2) { // big endian
if (bps == 32) return CODEC_ID_PCM_F32BE; 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 { } else {
//if (bps == 32) return CODEC_ID_PCM_F32LE; if (bps == 32) return CODEC_ID_PCM_F32LE;
//else if (bps == 64) return CODEC_ID_PCM_F64LE; else if (bps == 64) return CODEC_ID_PCM_F64LE;
} }
} else { } else {
if (flags & 2) { if (flags & 2) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment