From 8ca2a2a230817c4b815049404915c076074c417b Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 4 Nov 2022 08:09:52 +0100 Subject: [PATCH] fdkaacenc: Properly terminate GEnumValue table It should be terminated with a NULL entry, otherwise we just stray into the realms of cryptographic libraries^W^W random memory usage. Part-of: --- subprojects/gst-plugins-bad/ext/fdkaac/gstfdkaacenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-bad/ext/fdkaac/gstfdkaacenc.c b/subprojects/gst-plugins-bad/ext/fdkaac/gstfdkaacenc.c index abbf5d15fc..088c26fc9a 100644 --- a/subprojects/gst-plugins-bad/ext/fdkaac/gstfdkaacenc.c +++ b/subprojects/gst-plugins-bad/ext/fdkaac/gstfdkaacenc.c @@ -135,6 +135,7 @@ gst_fdk_aac_rate_control_get_type (void) static const GEnumValue rate_control_types[] = { {GST_FDK_AAC_RATE_CONTROL_CONSTANT_BITRATE, "Constant Bitrate", "cbr"}, {GST_FDK_AAC_RATE_CONTROL_VARIABLE_BITRATE, "Variable Bitrate", "vbr"}, + {0, NULL, NULL} }; if (!fdk_aac_rate_control_type)