From 04c14de1d1d3079acc654679cc08401fe267f09f Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Sat, 4 Feb 2017 14:42:33 +1100 Subject: [PATCH] audioringbuffer: Prevent overflow of debug names array Add new audio types to the list of strings used for debug so we don't index past the end of that array. https://bugzilla.gnome.org/show_bug.cgi?id=777655 --- gst-libs/gst/audio/gstaudioringbuffer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/audio/gstaudioringbuffer.c b/gst-libs/gst/audio/gstaudioringbuffer.c index 610b161dd..f391db6ee 100644 --- a/gst-libs/gst/audio/gstaudioringbuffer.c +++ b/gst-libs/gst/audio/gstaudioringbuffer.c @@ -129,7 +129,9 @@ static const gchar *format_type_names[] = { "eac3", "dts", "aac mpeg2", - "aac mpeg4" + "aac mpeg4", + "aac mpeg2 raw", + "aac mpeg4 raw" }; #endif -- 2.34.1