summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2009-04-20 13:45:32 +0200
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2009-04-20 13:49:03 +0200
commitcfcf76df11a45934cfdf32e227753d40a48beb18 (patch)
treee3e509b905a75badc83fce96a26f29be880e4d66
parent11830159545248fafac35f00bf97aa41197b7a5d (diff)
Fix push mode buffering sanity check to actually fit the description.
-rw-r--r--gst/qtdemux/qtdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index afa72c1c..6ff2157f 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -2512,7 +2512,7 @@ gst_qtdemux_chain (GstPad * sinkpad, GstBuffer * inbuf)
demux->neededbytes = next_entry_size (demux);
} else {
/* sanity check */
- if (size > 10 * (2 << 20))
+ if (size > 10 * (1 << 20))
goto no_moov;
demux->state = QTDEMUX_STATE_BUFFER_MDAT;
demux->neededbytes = size;