vc1parse: workaround for simple/main codec_data being 5 bytes long
authorAlessandro Decina <alessandro.decina@collabora.co.uk>
Tue, 31 Jan 2012 10:03:45 +0000 (11:03 +0100)
committerLuciana Fujii Pontello <luciana.fujii@collabora.co.uk>
Thu, 10 May 2012 03:56:52 +0000 (23:56 -0400)
commita14128a1cb47b701bf18b8589f18a1249d50ebdf
tree83c55634ff61e98ff6e35ffeb14701b1e0c82fb2
parent614cfed8f62a51048f6f982b2a5d0fdf280e12ba
vc1parse: workaround for simple/main codec_data being 5 bytes long

Sometimes the codec_data buffer for simple/main pushed by asfdemux is 5 bytes
instead of 4. When that happens, codec_data is still valid but it seems to have
one 0x00 trailing byte. Might be a bug in the demuxer, needs more investigation.
gst/videoparsers/gstvc1parse.c