summaryrefslogtreecommitdiff
path: root/gst/mpegdemux
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2014-06-02 09:42:33 +0200
committerEdward Hervey <bilboed@bilboed.com>2014-06-02 09:42:33 +0200
commite7a0d7d0ed5fe33b85ae5506acf19ff3ba354303 (patch)
treef943239fedcea937be5423772460a190822b62b8 /gst/mpegdemux
parent91581cf531dc66bbd73dd00864ed64691fcc54f3 (diff)
downloadgstreamer-plugins-bad-e7a0d7d0ed5fe33b85ae5506acf19ff3ba354303.tar.gz
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
Diffstat (limited to 'gst/mpegdemux')
-rw-r--r--gst/mpegdemux/gstmpegdemux.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/mpegdemux/gstmpegdemux.c b/gst/mpegdemux/gstmpegdemux.c
index 6dd6d6b36..90c00cb14 100644
--- a/gst/mpegdemux/gstmpegdemux.c
+++ b/gst/mpegdemux/gstmpegdemux.c
@@ -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",