Browse code

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 authored on 2009/03/19 10:10:30
Showing 1 changed files
... ...
@@ -58,7 +58,7 @@ volatile int checksum;
58 58
 int main(void){
59 59
     int i;
60 60
     char data[LEN];
61
-    av_log_level = AV_LOG_DEBUG;
61
+    av_log_set_level(AV_LOG_DEBUG);
62 62
     for(i=0; i<LEN; i++)
63 63
         data[i]= ((i*i)>>3) + 123*i;
64 64
     for(i=0; i<1000; i++){