From c5e462b33d6db445b1c763e89320b1bcb214debb Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sun, 31 Oct 2010 03:19:56 +0300 Subject: 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 --- av_log.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'av_log.c') 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 -#ifdef CONFIG_LIBAVCODEC +#ifdef CONFIG_FFMPEG #include -#endif - -#ifdef CONFIG_LIBAVFORMAT #include #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) -- cgit v1.2.3