projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41e1052
)
Revert "qtdemux: redundant check in PIFF parser"
author
Luis de Bethencourt
<luisbg@osg.samsung.com>
Tue, 12 Apr 2016 10:37:36 +0000
(11:37 +0100)
committer
Luis de Bethencourt
<luisbg@osg.samsung.com>
Tue, 12 Apr 2016 10:37:36 +0000
(11:37 +0100)
This reverts commit
41e10524f3babdd92aac8c8c9d5b9cdf184c2d4e
.
gst/isomp4/qtdemux.c
patch
|
blob
|
history
diff --git
a/gst/isomp4/qtdemux.c
b/gst/isomp4/qtdemux.c
index
bbfed6f
..
77d3272
100644
(file)
--- 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);