projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e2e111
)
audioringbuffer: Prevent overflow of debug names array
author
Jan Schmidt
<jan@centricular.com>
Sat, 4 Feb 2017 03:42:33 +0000
(14:42 +1100)
committer
Jan 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
patch
|
blob
|
history
diff --git
a/gst-libs/gst/audio/gstaudioringbuffer.c
b/gst-libs/gst/audio/gstaudioringbuffer.c
index 610b161ddf71d2688a9ca785956e5d34db717ed9..f391db6ee3f9f80447ac99d1e6c8f8b8723910cc 100644
(file)
--- 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