mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
Revert "qtdemux: redundant check in PIFF parser"
This reverts commit 41e10524f3
.
This commit is contained in:
parent
41e10524f3
commit
574bf8e02f
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue