[MPlayer-cvslog] r25280 - trunk/libmpcodecs/dec_audio.c

rfelker subversion at mplayerhq.hu
Mon Dec 3 10:03:45 CET 2007


Author: rfelker
Date: Mon Dec  3 10:03:45 2007
New Revision: 25280

Log:
fix declaration after statement

Modified:
   trunk/libmpcodecs/dec_audio.c

Modified: trunk/libmpcodecs/dec_audio.c
==============================================================================
--- trunk/libmpcodecs/dec_audio.c	(original)
+++ trunk/libmpcodecs/dec_audio.c	Mon Dec  3 10:03:45 2007
@@ -361,10 +361,10 @@ int init_audio_filters(sh_audio_t *sh_au
 
 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;



More information about the MPlayer-cvslog mailing list