changeset 25252:ca7e863c97bb

fix declaration after statement
author rfelker
date Mon, 03 Dec 2007 09:03:45 +0000
parents 80804f0631f4
children 7862500323c5
files libmpcodecs/dec_audio.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/dec_audio.c	Mon Dec 03 04:08:36 2007 +0000
+++ b/libmpcodecs/dec_audio.c	Mon Dec 03 09:03:45 2007 +0000
@@ -361,9 +361,9 @@
 
 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;
 
-    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) {