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:
a1e2047
)
qtdemux: Fix bug where stps is never parsed due to logic error
author
Robert Swain
<robert.swain@collabora.co.uk>
Mon, 26 Oct 2009 20:36:08 +0000
(20:36 +0000)
committer
Robert Swain
<robert.swain@collabora.co.uk>
Mon, 23 Nov 2009 15:29:14 +0000
(16:29 +0100)
gst/qtdemux/qtdemux.c
patch
|
blob
|
history
diff --git
a/gst/qtdemux/qtdemux.c
b/gst/qtdemux/qtdemux.c
index 5aec5ce734b985e33fb24f7fce747e469539ef8c..30d8365691e01064e81ec04d596f1f3d8995d472 100644
(file)
--- a/
gst/qtdemux/qtdemux.c
+++ b/
gst/qtdemux/qtdemux.c
@@
-3964,10
+3964,9
@@
qtdemux_parse_samples (GstQTDemux * qtdemux, QtDemuxStream * stream,
if (!gst_byte_reader_get_uint32_be (&stps, &n_sample_syncs))
goto corrupt_file;
+ /* if there are no entries, the stss table contains the real
+ * sync samples */
if (n_sample_syncs != 0) {
- /* no entries, the stss table contains the real sync
- * samples */
- } else {
/* make sure there's enough data */
if (!qt_atom_parser_has_chunks (&stps, n_sample_syncs, 4))
goto corrupt_file;