From aef0374c1cef269d65b8783dae8d33ee45a1f976 Mon Sep 17 00:00:00 2001 From: rfelker Date: Mon, 3 Dec 2007 09:03:45 +0000 Subject: [PATCH] fix declaration after statement git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25280 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/dec_audio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmpcodecs/dec_audio.c b/libmpcodecs/dec_audio.c index 22fc6e654a..2b8f6a1005 100644 --- a/libmpcodecs/dec_audio.c +++ b/libmpcodecs/dec_audio.c @@ -361,10 +361,10 @@ int init_audio_filters(sh_audio_t *sh_audio, int in_samplerate, static int filter_n_bytes(sh_audio_t *sh, int len) { - assert(len-1 + sh->audio_out_minsize <= sh->a_buffer_size); - int error = 0; + assert(len-1 + sh->audio_out_minsize <= sh->a_buffer_size); + // Decode more bytes if needed while (sh->a_buffer_len < len) { unsigned char *buf = sh->a_buffer + sh->a_buffer_len; -- 2.11.4.GIT