Mercurial > mplayer.hg
changeset 22153:0cf24df5d97b
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).
author | iive |
---|---|
date | Wed, 07 Feb 2007 12:31:37 +0000 |
parents | 1f6c89bc1c3a |
children | 1dc228327c55 |
files | libmpcodecs/vd_ffmpeg.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Wed Feb 07 09:58:23 2007 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Wed Feb 07 12:31:37 2007 +0000 @@ -231,7 +231,7 @@ 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 @@ 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;