[FFmpeg-devel] [PATCH v2] lavf/matroskadec: Set A_QUICKTIME bit depth

Mats Peterson matsp888 at yahoo.com
Fri Jan 15 11:12:07 CET 2016


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.

Also, 'twos' audio can be signed 8-bit.

Mats

-- 
Mats Peterson
http://matsp888.no-ip.org/~mats/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-matroskadec-Set-A_QUICKTIME-bit-depth.patch
Type: text/x-patch
Size: 2871 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160115/e8378f5c/attachment.bin>


More information about the ffmpeg-devel mailing list