summaryrefslogtreecommitdiffstats
path: root/common/av_log.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-02-12 19:28:30 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-02-13 17:45:29 -0800
commit706bb1d0c756be95e8646c6e433d5d24f7c75dca (patch)
tree6cbb460e04f4b394fc65cce2a17bbde6ae80e3ec /common/av_log.c
parent3ffa70e2da121b1924f3fb74b0de0787184de237 (diff)
downloadmpv-706bb1d0c756be95e8646c6e433d5d24f7c75dca.tar.bz2
mpv-706bb1d0c756be95e8646c6e433d5d24f7c75dca.tar.xz
Fix recent FFmpeg deprecations
This includes codec/muxer/demuxer iteration (different iteration function, registration functions deprecated), and the renaming of AVFormatContext.filename to url (plus making it a malloced string). Libav doesn't have the new API yet, so it will break. I hope they will add the new APIs too.
Diffstat (limited to 'common/av_log.c')
-rw-r--r--common/av_log.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/av_log.c b/common/av_log.c
index c90db33f6a..86d083c438 100644
--- a/common/av_log.c
+++ b/common/av_log.c
@@ -159,8 +159,6 @@ void init_libav(struct mpv_global *global)
}
pthread_mutex_unlock(&log_lock);
- avcodec_register_all();
- av_register_all();
avformat_network_init();
avfilter_register_all();