From 574bf8e02f1bb025c67bea9836d87213df4707c2 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Tue, 12 Apr 2016 11:37:36 +0100 Subject: [PATCH] Revert "qtdemux: redundant check in PIFF parser" This reverts commit 41e10524f3babdd92aac8c8c9d5b9cdf184c2d4e. --- gst/isomp4/qtdemux.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index bbfed6f73d..77d3272932 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -2467,6 +2467,9 @@ qtdemux_parse_piff (GstQTDemux * qtdemux, const guint8 * buffer, gint length, const gchar *system_id; gboolean uses_sub_sample_encryption = FALSE; + if (!qtdemux->streams) + return; + stream = qtdemux->streams[0]; structure = gst_caps_get_structure (stream->caps, 0);