From cb3c29effee812089b1b83edeca74516b2b8ded1 Mon Sep 17 00:00:00 2001 From: iive Date: Wed, 7 Feb 2007 12:31:37 +0000 Subject: Revert part of commit r22170. FFmpeg lavcodecs version is still (or according to ffmpeg commit r7868, it's back to) 49.3.0, so global variables are not yet directly accessable (if ever). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22171 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd_ffmpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmpcodecs') diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c index d2d10eff3c..0b898af7d2 100644 --- a/libmpcodecs/vd_ffmpeg.c +++ b/libmpcodecs/vd_ffmpeg.c @@ -231,7 +231,7 @@ static int init(sh_video_t *sh){ avcodec_init(); avcodec_register_all(); avcodec_inited=1; - av_vlog = mp_msp_av_log_callback; + av_log_set_callback(mp_msp_av_log_callback); } ctx = sh->context = malloc(sizeof(vd_ffmpeg_ctx)); @@ -302,7 +302,7 @@ static int init(sh_video_t *sh){ avctx->error_concealment= lavc_param_error_concealment; avctx->debug= lavc_param_debug; if (lavc_param_debug) - av_log_level = AV_LOG_DEBUG; + av_log_set_level(AV_LOG_DEBUG); avctx->debug_mv= lavc_param_vismv; avctx->skip_top = lavc_param_skip_top; avctx->skip_bottom= lavc_param_skip_bottom; -- cgit v1.2.3