mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
c8c9b0f35d
Make sure we don't read beyond the atom boundary. Note that the code behaves slightly differently in the corner case where there is not enough atom data for the specified number of samples (n_samples_time) in the atom, but still enough data to fill the pre-allocated index of n_samples entries: before we would just stop parsing the stts data and continue, whereas now we will likely error out. This should not be a problem in practice though. We could maintain the old behaviour by doing reads with a size check inside the loop if needed. |
||
---|---|---|
.. | ||
gstrtpxqtdepay.c | ||
gstrtpxqtdepay.h | ||
LEGAL | ||
Makefile.am | ||
qtatomparser.h | ||
qtdemux.c | ||
qtdemux.h | ||
qtdemux.vcproj | ||
qtdemux_dump.c | ||
qtdemux_dump.h | ||
qtdemux_fourcc.h | ||
qtdemux_types.c | ||
qtdemux_types.h | ||
qtpalette.h | ||
quicktime.c |