Fix stupid bug

Original commit message from CVS:
Fix stupid bug
This commit is contained in:
Wim Taymans 2002-11-28 21:30:13 +00:00
parent 18f9761afc
commit 431fba3939

View file

@ -357,6 +357,7 @@ gst_cache_add_association (GstCache *tc, gint id, GstAssocFlags flags,
gulong size;
gint nassocs = 0;
GstFormat cur_format;
gint64 dummy;
g_return_val_if_fail (GST_IS_CACHE (tc), NULL);
g_return_val_if_fail (format != 0, NULL);
@ -369,7 +370,7 @@ gst_cache_add_association (GstCache *tc, gint id, GstAssocFlags flags,
nassocs++;
cur_format = va_arg (args, GstFormat);
if (cur_format)
value = va_arg (args, gint64);
dummy = va_arg (args, gint64);
}
va_end (args);