On 01/13/2016 12:30 AM, Mats Peterson wrote:
Since mkvmerge doesn't set the bit depth for A_QUICKTIME audio (as far
as I know), the track->audio.bitdepth variable will be zero, and its
value needs to be retrieved from the sound sample description. Also,
confine the 0x00000000 to 'raw '/'twos' fourcc mapping to old version 0
sound sample descriptions, since they are the only valid sample
descriptions for this type of mapping.

Mats

I should add that I've limited the setting of track->audio.bitdepth to version 0 sound sample descriptions only, since as they can only contain 8- or 16-bit uncompressed data, setting it here will properly reflect the "real" bit depth. The bit depth of version 1 sound sample descriptions can be larger than 16 bits.

Mats

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to