summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-11-13 20:59:17 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-11-13 20:59:17 +0000
commit54e6e9fcea08bce3bc2b01fb562a74feafaa52be (patch)
tree6dffa3245b96c511df5da0052e029b1ed97427f8
parent6d94a5b2e34c55611f2d6ea70c241971e65afc8c (diff)
Change name of sbc_fill_defaults to sbc_set_defaults.
-rw-r--r--sbc/sbc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbc/sbc.c b/sbc/sbc.c
index 12906718..50af4a1e 100644
--- a/sbc/sbc.c
+++ b/sbc/sbc.c
@@ -1208,7 +1208,7 @@ struct sbc_priv {
struct sbc_encoder_state enc_state;
};
-static void sbc_fill_defaults(sbc_t *sbc, unsigned long flags)
+static void sbc_set_defaults(sbc_t *sbc, unsigned long flags)
{
sbc->rate = 44100;
sbc->channels = 2;
@@ -1232,7 +1232,7 @@ int sbc_init(sbc_t *sbc, unsigned long flags)
memset(sbc->priv, 0, sizeof(struct sbc_priv));
- sbc_fill_defaults(sbc, flags);
+ sbc_set_defaults(sbc, flags);
return 0;
}
@@ -1421,7 +1421,7 @@ int sbc_reinit(sbc_t *sbc, unsigned long flags)
if (priv->init == 1)
memset(sbc->priv, 0, sizeof(struct sbc_priv));
- sbc_fill_defaults(sbc, flags);
+ sbc_set_defaults(sbc, flags);
return 0;
}