mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
Fix off-by-one allocation problem in gst_aasink_dither_get_type().
Original commit message from CVS: Fix off-by-one allocation problem in gst_aasink_dither_get_type(). Fixes #112329.
This commit is contained in:
parent
cbd4b72d7c
commit
dc32c94af9
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ gst_aasink_dither_get_type (void)
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
ditherers = g_new0(GEnumValue, i);
|
ditherers = g_new0(GEnumValue, i + 1);
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
while (aa_dithernames[i]) {
|
while (aa_dithernames[i]) {
|
||||||
|
|
Loading…
Reference in a new issue