mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
vorbisdec: Set at most 64 channels to NONE position
Thanks to Antonio Morales for finding and reporting the issue. Fixes GHSL-2024-115 Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3869 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8035>
This commit is contained in:
parent
4c40f73b70
commit
5093691ef2
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ vorbis_handle_identification_packet (GstVorbisDec * vd)
|
|||
}
|
||||
default:{
|
||||
GstAudioChannelPosition position[64];
|
||||
gint i, max_pos = MAX (vd->vi.channels, 64);
|
||||
gint i, max_pos = MIN (vd->vi.channels, 64);
|
||||
|
||||
GST_ELEMENT_WARNING (vd, STREAM, DECODE,
|
||||
(NULL), ("Using NONE channel layout for more than 8 channels"));
|
||||
|
|
Loading…
Reference in a new issue