summaryrefslogtreecommitdiffstats
path: root/libaf/af_lavcresample.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-03-07 21:50:45 +0100
committerUoti Urpala <uau@mplayer2.org>2011-04-20 04:22:53 +0300
commit52743acba37451121d0820150694d13e2f660774 (patch)
treef9d924293f242bd969df4e19f3e5f56fc689d8e4 /libaf/af_lavcresample.c
parentb17a1cf70c2666c0f8ea020c37350b178c62fc1a (diff)
downloadmpv-52743acba37451121d0820150694d13e2f660774.tar.bz2
mpv-52743acba37451121d0820150694d13e2f660774.tar.xz
cleanup: avoid various GCC warnings
Diffstat (limited to 'libaf/af_lavcresample.c')
-rw-r--r--libaf/af_lavcresample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libaf/af_lavcresample.c b/libaf/af_lavcresample.c
index 48fcd75ac5..f1483aca77 100644
--- a/libaf/af_lavcresample.c
+++ b/libaf/af_lavcresample.c
@@ -119,7 +119,7 @@ static void uninit(struct af_instance_s* af)
static af_data_t* play(struct af_instance_s* af, af_data_t* data)
{
af_resample_t *s = af->setup;
- int i, j, consumed, ret;
+ int i, j, consumed, ret = 0;
int16_t *in = (int16_t*)data->audio;
int16_t *out;
int chans = data->nch;