mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
mpegtsdemux: fix memory corruption when parsing adaptation field
This commit is contained in:
parent
f994f51a2c
commit
5208d030b3
1 changed files with 1 additions and 1 deletions
|
@ -1782,7 +1782,7 @@ gst_mpegts_demux_parse_adaptation_field (GstMpegTSStream * stream,
|
|||
pmt_stream = demux->streams[demux->streams[j]->PMT_pid];
|
||||
GST_DEBUG_OBJECT (demux, "Updating base_time on all es "
|
||||
"pids belonging to PMT 0x%02x", stream->PMT_pid);
|
||||
for (i = 0; i <= pmt_stream->PMT.entries->len; i++) {
|
||||
for (i = 0; i < pmt_stream->PMT.entries->len; i++) {
|
||||
GstMpegTSPMTEntry *cur_entry =
|
||||
&g_array_index (pmt_stream->PMT.entries,
|
||||
GstMpegTSPMTEntry, i);
|
||||
|
|
Loading…
Reference in a new issue