[vlc-commits] commit: modules: assert when trying to add more than one deprecated alias. ( Rémi Duraffort )
git at videolan.org
git at videolan.org
Tue Oct 19 22:10:19 CEST 2010
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Oct 19 22:09:30 2010 +0200| [e6552497bb9d06d0b213e04fc4aa26f1d118b06c] | committer: Rémi Duraffort
modules: assert when trying to add more than one deprecated alias.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e6552497bb9d06d0b213e04fc4aa26f1d118b06c
---
src/modules/entry.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/modules/entry.c b/src/modules/entry.c
index 68ec050..a14caed 100644
--- a/src/modules/entry.c
+++ b/src/modules/entry.c
@@ -347,6 +347,7 @@ int vlc_plugin_set (module_t *module, module_config_t *item, int propid, ...)
case VLC_CONFIG_OLDNAME:
{
const char *oldname = va_arg (ap, const char *);
+ assert (item->psz_oldname == NULL);
item->psz_oldname = oldname ? strdup (oldname) : NULL;
break;
}
More information about the vlc-commits
mailing list