[FFmpeg-devel] [PATCH v2] lavf/matroskadec: Normalize noncompliant A_QUICKTIME/V_QUICKTIME private data

Mats Peterson matsp888 at yahoo.com
Fri Jan 8 17:26:16 CET 2016


Changed the name of get_qt_priv_data() to the more appropriate
get_qt_codec(). Description follows:

This patch adds a new static function get_qt_codec() that takes care of 
the initial retrieval of the fourcc and codec ID for A_QUICKTIME and 
V_QUICKTIME. It also normalizes noncompliant private data found in some 
older files that incorrectly starts with the fourcc by 
expanding/shifting the data by 4 bytes, and storing the data size at the 
start. This is important in order to make the private data work as 
expected and without false positives with the rest of the code in the 
A_QUICKTIME and V_QUICKTIME blocks (and most likely in other places as 
well).

Mats

-- 
Mats Peterson
http://matsp888.no-ip.org/~mats/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-matroskadec-Normalize-noncompliant-A_QUICKTIME-.patch
Type: text/x-patch
Size: 4691 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160108/23963412/attachment.bin>


More information about the ffmpeg-devel mailing list