mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-13 19:01:03 +00:00
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:
parent
56523713e5
commit
7e4b3fb878
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user