mpegdemux: avoid crashing in pathological case

(Identical to commit 612cdeec80 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
This commit is contained in:
Edward Hervey 2014-06-02 09:42:33 +02:00
parent 91581cf531
commit e7a0d7d0ed

View file

@ -796,7 +796,6 @@ gst_flups_demux_handle_dvd_event (GstFluPSDemux * demux, GstEvent * event)
break;
case 0x7:
/* FIXME: What range is SDDS? */
break;
default:
GST_WARNING_OBJECT (demux,
"Unknown audio stream format in language code event: %d",