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)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 25 Oct 2012 12:05:48 +0000 (14:05 +0200)
commitf287dec1a22880f6511d732c4b76fe14c3434c13
tree6809201d3f1a45ef5e34e306ab2a42a87eb21d65
parent8aec23ac0578cf15ae8217e74d87594b473b702b
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