ext/lame/gstlame.c: Initialise the variables so gcc doesn't complain about possibly uninitialised uses, even though t...

Original commit message from CVS:
* ext/lame/gstlame.c:
Initialise the variables so gcc doesn't complain about possibly
uninitialised uses, even though they can't actually happen.
This commit is contained in:
Jan Schmidt 2007-02-28 16:01:08 +00:00
parent d092f55b65
commit 8974080b09

View file

@ -656,8 +656,8 @@ init_error:
#define CHECK_AND_FIXUP_BITRATE(obj,param,rate) \ #define CHECK_AND_FIXUP_BITRATE(obj,param,rate) \
G_STMT_START { \ G_STMT_START { \
gint ___rate = rate; \ gint ___rate = rate; \
gint maxrate; \ gint maxrate = 320; \
gint multiplier; \ gint multiplier = 64; \
if (rate <= 64) { \ if (rate <= 64) { \
maxrate = 64; multiplier = 8; \ maxrate = 64; multiplier = 8; \
if ((rate % 8) != 0) ___rate = GST_ROUND_UP_8 (rate); \ if ((rate % 8) != 0) ___rate = GST_ROUND_UP_8 (rate); \