Replace manual setting of the removed av_log_level variable by the
authorDiego Biurrun <diego@biurrun.de>
Thu, 2 Apr 2009 08:15:03 +0000 (08:15 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 2 Apr 2009 08:15:03 +0000 (08:15 +0000)
corresponding call to av_log_set_level().

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

libavutil/lzo.c

index 686983a..668c084 100644 (file)
@@ -249,7 +249,7 @@ int main(int argc, char *argv[]) {
     long tmp[LZO1X_MEM_COMPRESS];
     int inlen, outlen;
     int i;
-    av_log_level = AV_LOG_DEBUG;
+    av_log_set_level(AV_LOG_DEBUG);
     lzo1x_999_compress(orig, s, comp, &clen, tmp);
     for (i = 0; i < 300; i++) {
 START_TIMER