mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
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:
parent
d8659dad60
commit
552273cdcc
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-02-28 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* ext/lame/gstlame.c:
|
||||
Initialise the variables so gcc doesn't complain about possibly
|
||||
uninitialised uses, even though they can't actually happen.
|
||||
|
||||
2007-02-28 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcm_reset),
|
||||
|
|
|
@ -656,8 +656,8 @@ init_error:
|
|||
#define CHECK_AND_FIXUP_BITRATE(obj,param,rate) \
|
||||
G_STMT_START { \
|
||||
gint ___rate = rate; \
|
||||
gint maxrate; \
|
||||
gint multiplier; \
|
||||
gint maxrate = 320; \
|
||||
gint multiplier = 64; \
|
||||
if (rate <= 64) { \
|
||||
maxrate = 64; multiplier = 8; \
|
||||
if ((rate % 8) != 0) ___rate = GST_ROUND_UP_8 (rate); \
|
||||
|
|
Loading…
Reference in a new issue