[FFmpeg-cvslog] r18040 - trunk/libavutil/adler32.c

diego subversion
Thu Mar 19 02:10:31 CET 2009


Author: diego
Date: Thu Mar 19 02:10:30 2009
New Revision: 18040

Log:
Fix compilation of adler32 test program: Use av_log_set_level()
instead of assigning a value to the av_log_level variable.

Modified:
   trunk/libavutil/adler32.c

Modified: trunk/libavutil/adler32.c
==============================================================================
--- trunk/libavutil/adler32.c	Thu Mar 19 02:04:23 2009	(r18039)
+++ trunk/libavutil/adler32.c	Thu Mar 19 02:10:30 2009	(r18040)
@@ -58,7 +58,7 @@ volatile int checksum;
 int main(void){
     int i;
     char data[LEN];
-    av_log_level = AV_LOG_DEBUG;
+    av_log_set_level(AV_LOG_DEBUG);
     for(i=0; i<LEN; i++)
         data[i]= ((i*i)>>3) + 123*i;
     for(i=0; i<1000; i++){




More information about the ffmpeg-cvslog mailing list