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
This commit is contained in:
Diego Biurrun 2009-03-19 01:10:30 +00:00
parent 23869b4af4
commit bb504ac45e

View File

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