summaryrefslogtreecommitdiffstats
path: root/common/av_log.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 23:15:32 +0100
committerwm4 <wm4@nowhere>2013-12-21 23:15:32 +0100
commit0a3e9a9ac3a90da831b497e0613dfb66bc14f3d2 (patch)
treeb70f214f8c3fc802d6d6edbf8395273c854ac0fd /common/av_log.h
parenta4fe95b0d8d339ba5afbdb5346ad8fd367a4a1c1 (diff)
parent245e5b844177e9ad9a9c07eff5efab7c3fccdebc (diff)
downloadmpv-0a3e9a9ac3a90da831b497e0613dfb66bc14f3d2.tar.bz2
mpv-0a3e9a9ac3a90da831b497e0613dfb66bc14f3d2.tar.xz
Merge branch 'msg_refactor'
This branch changes mp_msg() so that it doesn't require global context. The changes are pretty violent.
Diffstat (limited to 'common/av_log.h')
-rw-r--r--common/av_log.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/common/av_log.h b/common/av_log.h
index d5c57b0aeb..17326b609f 100644
--- a/common/av_log.h
+++ b/common/av_log.h
@@ -1,2 +1,8 @@
-void init_libav(void);
-void print_libav_versions(int v);
+#ifndef MP_AV_LOG_H
+#define MP_AV_LOG_H
+struct mpv_global;
+struct mp_log;
+void init_libav(struct mpv_global *global);
+void uninit_libav(struct mpv_global *global);
+void print_libav_versions(struct mp_log *log, int v);
+#endif