diff options
author | wm4 <wm4@nowhere> | 2018-02-12 19:28:30 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-02-13 17:45:29 -0800 |
commit | 706bb1d0c756be95e8646c6e433d5d24f7c75dca (patch) | |
tree | 6cbb460e04f4b394fc65cce2a17bbde6ae80e3ec /common/av_log.c | |
parent | 3ffa70e2da121b1924f3fb74b0de0787184de237 (diff) | |
download | mpv-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.c | 2 |
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(); |