]> git.sesse.net Git - vlc/blobdiff - include/vlc_configuration.h
Fix memory leak in case of corrupt MP4 box
[vlc] / include / vlc_configuration.h
index 169a95f81ec2a3c802ea3c38d486cbd3bd60a9d5..43258e0a516cf599947d867d32a2dbcf0c923c65 100644 (file)
@@ -283,6 +283,7 @@ enum vlc_config_properties
     /* former option name (args=const char *) */
 
     VLC_CONFIG_SAFE,
+    /* tag as modifiable by untrusted input item "sources" (args=none) */
 };
 
 
@@ -471,6 +472,8 @@ VLC_EXPORT( int, vlc_config_set, (module_config_t *, int, ...) );
 #define change_unsaveable() \
     vlc_config_set (p_config, VLC_CONFIG_VOLATILE)
 
+#define change_unsafe() (void)0 /* no-op */
+
 #define change_safe() \
     vlc_config_set (p_config, VLC_CONFIG_SAFE)