mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
mpegdemux: Don't write after the end of the psm array when initialising it
This commit is contained in:
parent
8284f7bc61
commit
03043b7238
1 changed files with 1 additions and 1 deletions
|
@ -1530,7 +1530,7 @@ gst_flups_demux_reset_psm (GstFluPSDemux * demux)
|
|||
demux->psm[i] = type;
|
||||
|
||||
/* Initialize all fields to -1 first */
|
||||
FILL_TYPE (0x00, GST_FLUPS_DEMUX_MAX_PSM, -1);
|
||||
FILL_TYPE (0x00, GST_FLUPS_DEMUX_MAX_PSM - 1, -1);
|
||||
|
||||
FILL_TYPE (0x20, 0x3f, ST_PS_DVD_SUBPICTURE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue