summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-07 12:31:37 +0000
committeriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-07 12:31:37 +0000
commitcb3c29effee812089b1b83edeca74516b2b8ded1 (patch)
tree026c55e12194acefb5c47dc21826af5ef3afc58d
parent8ff440d6a4395a2a848e9299964cc275563f0815 (diff)
downloadmpv-cb3c29effee812089b1b83edeca74516b2b8ded1.tar.bz2
mpv-cb3c29effee812089b1b83edeca74516b2b8ded1.tar.xz
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
-rw-r--r--libmpcodecs/vd_ffmpeg.c4
1 files changed, 2 insertions, 2 deletions
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;