audioringbuffer: Prevent overflow of debug names array
authorJan Schmidt <jan@centricular.com>
Sat, 4 Feb 2017 03:42:33 +0000 (14:42 +1100)
committerJan Schmidt <jan@centricular.com>
Sat, 4 Feb 2017 03:42:33 +0000 (14:42 +1100)
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

index 610b161..f391db6 100644 (file)
@@ -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