matroskademux: Ignore unexpected CodecState
authorPhilip Jägenstedt <philipj@opera.com>
Wed, 12 May 2010 12:30:18 +0000 (14:30 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 19 May 2010 18:33:35 +0000 (20:33 +0200)
commitd14697112864f385e0a341cde6533f9e22d04c36
treeaf2c8ba1bf1d86816782dac837dc62d44bd1c1dd
parent9dc7889eea8420151f3eb24f6169d195200c5c21
matroskademux: Ignore unexpected CodecState

Because GstMatroskaTrackContext *stream is set up in the first
SimpleBlock or Block, a rogue CodecState otherwise causes a segfault on
derefencing the NULL pointer. Test case:
bug_s5506167_r0.001____gst_matroska_demux_parse_blockgroup_or_simpleblock.webm
gst/matroska/matroska-demux.c