Commit bb504ac4 authored by Diego Biurrun's avatar Diego Biurrun

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
parent 23869b4a
...@@ -58,7 +58,7 @@ volatile int checksum; ...@@ -58,7 +58,7 @@ volatile int checksum;
int main(void){ int main(void){
int i; int i;
char data[LEN]; char data[LEN];
av_log_level = AV_LOG_DEBUG; av_log_set_level(AV_LOG_DEBUG);
for(i=0; i<LEN; i++) for(i=0; i<LEN; i++)
data[i]= ((i*i)>>3) + 123*i; data[i]= ((i*i)>>3) + 123*i;
for(i=0; i<1000; i++){ for(i=0; i<1000; i++){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment