aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dv.h
diff options
context:
space:
mode:
authorMats Peterson <matsp888@yahoo.com>2016-01-10 03:59:21 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-01-11 01:35:34 +0100
commit71f73ee3250a46c2f97625f6b1fc263ed88c1008 (patch)
treeb6acb7475b172133c770bde91788694d0de596f4 /libavcodec/dv.h
parent56ec8f85e2b830b5dc2e1977ddc08bc0bf238060 (diff)
downloadffmpeg-71f73ee3250a46c2f97625f6b1fc263ed88c1008.tar.gz
lavf/matroskadec: Normalize noncompliant A_QUICKTIME/V_QUICKTIME private data
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 necessary in order for the rest of the code in the A_QUICKTIME and V_QUICKTIME blocks (and most likely other code as well) to correctly parse the private data. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/dv.h')
0 files changed, 0 insertions, 0 deletions