qtdemux: redundant check in PIFF parser

qtdemux->streams is an array of size GST_QTDEMUX_MAX_STREAMS, it will never
evaluate to true when comparing to NULL.

https://bugzilla.gnome.org/show_bug.cgi?id=753614
CID 1358389
This commit is contained in:
Luis de Bethencourt 2016-04-12 11:05:50 +01:00
parent c9c051d53d
commit 41e10524f3

View file

@ -2467,9 +2467,6 @@ 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);