[SCM] libav/experimental: Make AES test program compile again: Setting the av_log_level variable needs to be replaced by a call to av_log_set_level().

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:41:47 UTC 2013


The following commit has been merged in the experimental branch:
commit b56e34c5e90a86b9f856f05362f50135d9845096
Author: Diego Biurrun <diego at biurrun.de>
Date:   Fri Mar 20 00:18:46 2009 +0000

    Make AES test program compile again: Setting the av_log_level variable
    needs to be replaced by a call to av_log_set_level().
    
    Originally committed as revision 18055 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavutil/aes.c b/libavutil/aes.c
index cc3537a..26bc43f 100644
--- a/libavutil/aes.c
+++ b/libavutil/aes.c
@@ -212,7 +212,7 @@ int main(void){
 
     av_aes_init(&ae, "PI=3.141592654..", 128, 0);
     av_aes_init(&ad, "PI=3.141592654..", 128, 1);
-    av_log_level= AV_LOG_DEBUG;
+    av_log_set_level(AV_LOG_DEBUG);
 
     for(i=0; i<2; i++){
         av_aes_init(&b, rkey[i], 128, 1);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list