summaryrefslogtreecommitdiffstats
path: root/av_log.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-10-31 03:19:56 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:16:55 +0200
commitc5e462b33d6db445b1c763e89320b1bcb214debb (patch)
tree5091b402fb3cc768fa5dbc718d5681d3d78d191f /av_log.c
parent389c32b5c72897a8b1b3c929c8f278e8980f2290 (diff)
downloadmpv-c5e462b33d6db445b1c763e89320b1bcb214debb.tar.bz2
mpv-c5e462b33d6db445b1c763e89320b1bcb214debb.tar.xz
build: enable/disable all FFmpeg libraries together
Enable all of libavcodec, libavformat, libswscale, and libpostproc together (libavutil is always required). based on svn commit by diego: git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32226 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'av_log.c')
-rw-r--r--av_log.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/av_log.c b/av_log.c
index 99f6e91a81..e3bb9e860c 100644
--- a/av_log.c
+++ b/av_log.c
@@ -27,11 +27,8 @@
#include "mp_msg.h"
#include <libavutil/log.h>
-#ifdef CONFIG_LIBAVCODEC
+#ifdef CONFIG_FFMPEG
#include <libavcodec/avcodec.h>
-#endif
-
-#ifdef CONFIG_LIBAVFORMAT
#include <libavformat/avformat.h>
#endif
@@ -55,7 +52,7 @@ static int extract_msg_type_from_ctx(void *ptr)
AVClass *avc = *(AVClass **)ptr;
-#ifdef CONFIG_LIBAVCODEC
+#ifdef CONFIG_FFMPEG
if (!strcmp(avc->class_name, "AVCodecContext")) {
AVCodecContext *s = ptr;
if (s->codec) {
@@ -73,7 +70,7 @@ static int extract_msg_type_from_ctx(void *ptr)
}
#endif
-#ifdef CONFIG_LIBAVFORMAT
+#ifdef CONFIG_FFMPEG
if (!strcmp(avc->class_name, "AVFormatContext")) {
AVFormatContext *s = ptr;
if (s->iformat)