1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 00:02:13 +00:00

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
This commit is contained in:
iive 2007-02-07 12:31:37 +00:00
parent 8ff440d6a4
commit cb3c29effe

View File

@ -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;