Adding support for parsing BlockAdditional
authorVignesh Venkatasubramanian <vigneshv@google.com>
Wed, 13 Feb 2013 21:51:48 +0000 (13:51 -0800)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 13 Feb 2013 23:46:28 +0000 (00:46 +0100)
commit30c5c45b123c45ede70988088528a2de6c869c3f
tree2a2d042f6ae4d52d03d149adc4dbfa9ce662fb81
parent701e9b82547c6fa72acfb91c86bf29c40722f154
Adding support for parsing BlockAdditional

Matroska specification lists support for BlockAdditional element
which is not supported by ffmpeg's matroska parser. This patch
adds grammar definitions for parsing that element (and few other
related elements) and then puts the data in AVPacket.side_data
with new AVPacketSideDataType AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL.

Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/avcodec.h
libavformat/matroska.h
libavformat/matroskadec.c
tests/fate/vpx.mak
tests/ref/fate/vp8-alpha [new file with mode: 0644]