Browse Source

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

Originally committed as revision 18040 to svn://svn.ffmpeg.org/ffmpeg/trunk

Diego Biurrun 16 years ago
parent
commit
bb504ac45e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libavutil/adler32.c

+ 1 - 1
libavutil/adler32.c

@@ -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++){