mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
Fix push mode buffering sanity check to actually fit the description.
This commit is contained in:
parent
1183015954
commit
cfcf76df11
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue