mpegdemux: avoid crashing in pathological case
authorEdward Hervey <bilboed@bilboed.com>
Mon, 2 Jun 2014 07:42:33 +0000 (09:42 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 2 Jun 2014 07:42:33 +0000 (09:42 +0200)
commite7a0d7d0ed5fe33b85ae5506acf19ff3ba354303
treef943239fedcea937be5423772460a190822b62b8
parent91581cf531dc66bbd73dd00864ed64691fcc54f3
mpegdemux: avoid crashing in pathological case

(Identical to commit 612cdeec80da95b12f9fad928419c7de2be20d68 which
was for resindvd)

When we'd see an unknown stream type, then a SDDS stream.
Then we'd get to the end of the switch with a NULL temp stream
pointer, and dereference it.

Coverity 1139708
gst/mpegdemux/gstmpegdemux.c