mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 16:18:16 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3319>
This commit is contained in:
parent
0213536f77
commit
8ca2a2a230
1 changed files with 1 additions and 0 deletions
|
@ -135,6 +135,7 @@ gst_fdk_aac_rate_control_get_type (void)
|
||||||
static const GEnumValue rate_control_types[] = {
|
static const GEnumValue rate_control_types[] = {
|
||||||
{GST_FDK_AAC_RATE_CONTROL_CONSTANT_BITRATE, "Constant Bitrate", "cbr"},
|
{GST_FDK_AAC_RATE_CONTROL_CONSTANT_BITRATE, "Constant Bitrate", "cbr"},
|
||||||
{GST_FDK_AAC_RATE_CONTROL_VARIABLE_BITRATE, "Variable Bitrate", "vbr"},
|
{GST_FDK_AAC_RATE_CONTROL_VARIABLE_BITRATE, "Variable Bitrate", "vbr"},
|
||||||
|
{0, NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!fdk_aac_rate_control_type)
|
if (!fdk_aac_rate_control_type)
|
||||||
|
|
Loading…
Reference in a new issue