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

2016-01-12 Thread Mats Peterson
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 0x to 'raw '/'twos'

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

2016-01-12 Thread Mats Peterson
On 01/13/2016 08:35 AM, Mats Peterson wrote: 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 The samples can only be 8- or 16-bit uncompressed, rather.

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

2016-01-12 Thread Mats Peterson
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 0x to 'raw '/'twos' fourcc mapping to old version 0 sound sample