mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
c9c051d53d
commit
41e10524f3
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue