[MPlayer-cvslog] r26101 - in trunk: configure fmt-conversion.h gui/bitmap.c libaf/af_lavcresample.c libmpcodecs/ad_ffmpeg.c libmpcodecs/ae_lavc.c libmpcodecs/native/nuppelvideo.c libmpcodecs/vd_ffmpeg.c libmpcodecs/vd_lzo.c libmpcodecs/ve_lavc.c libmpcodecs/ve_xvid4.c libmpcodecs/vf_lavc.c libmpcodecs/vf_lavcdeint.c libmpcodecs/vf_pp.c libmpcodecs/vf_sab.c libmpcodecs/vf_screenshot.c libmpcodecs/vf_smartblur.c libmpdemux/demux_asf.c libmpdemux/demux_lavf.c libmpdemux/demux_mkv.c libmpdemux/demux_real.c libmpdemux/demux_rtp_internal.h libmpdemux/demux_viv.c libmpdemux/muxer_lavf.c libmpdemux/video.c libvo/vo_md5sum.c mencoder.c spudec.c stream/realrtsp/real.c

diego subversion at mplayerhq.hu
Mon Feb 25 16:46:36 CET 2008


Author: diego
Date: Mon Feb 25 16:46:36 2008
New Revision: 26101

Log:
FFmpeg now uses different (unified) #include paths.


Modified:
   trunk/configure
   trunk/fmt-conversion.h
   trunk/gui/bitmap.c
   trunk/libaf/af_lavcresample.c
   trunk/libmpcodecs/ad_ffmpeg.c
   trunk/libmpcodecs/ae_lavc.c
   trunk/libmpcodecs/native/nuppelvideo.c
   trunk/libmpcodecs/vd_ffmpeg.c
   trunk/libmpcodecs/vd_lzo.c
   trunk/libmpcodecs/ve_lavc.c
   trunk/libmpcodecs/ve_xvid4.c
   trunk/libmpcodecs/vf_lavc.c
   trunk/libmpcodecs/vf_lavcdeint.c
   trunk/libmpcodecs/vf_pp.c
   trunk/libmpcodecs/vf_sab.c
   trunk/libmpcodecs/vf_screenshot.c
   trunk/libmpcodecs/vf_smartblur.c
   trunk/libmpdemux/demux_asf.c
   trunk/libmpdemux/demux_lavf.c
   trunk/libmpdemux/demux_mkv.c
   trunk/libmpdemux/demux_real.c
   trunk/libmpdemux/demux_rtp_internal.h
   trunk/libmpdemux/demux_viv.c
   trunk/libmpdemux/muxer_lavf.c
   trunk/libmpdemux/video.c
   trunk/libvo/vo_md5sum.c
   trunk/mencoder.c
   trunk/spudec.c
   trunk/stream/realrtsp/real.c

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Mon Feb 25 16:46:36 2008
@@ -6363,7 +6363,7 @@ if test "$_libavutil_a" = auto ; then
 elif test "$_libavutil_so" = auto ; then
   _libavutil_so=no
   cat > $TMPC << EOF
-#include <ffmpeg/common.h>
+#include <libavutil/common.h>
 int main(void) { ff_gcd(1,1); return 0; }
 EOF
   if $_pkg_config --exists libavutil ; then
@@ -6402,7 +6402,7 @@ elif test "$_libavcodec_so" = auto ; the
   _libavcodec_so=no
   _res_comment="libavcodec.so is discouraged over static libavcodec"
   cat > $TMPC << EOF
-#include <ffmpeg/avcodec.h>
+#include <libavcodec/avcodec.h>
 int main(void) { avcodec_find_encoder_by_name(""); return 0; }
 EOF
   if $_pkg_config --exists libavcodec ; then
@@ -6445,8 +6445,8 @@ if test "$_libavformat_a" = auto ; then
 elif test "$_libavformat_so" = auto ; then
   _libavformat_so=no
   cat > $TMPC <<EOF
-  #include <ffmpeg/avformat.h>
-  #include <ffmpeg/opt.h>
+  #include <libavformat/avformat.h>
+  #include <libavcodec/opt.h>
   int main(void) { av_alloc_format_context(); return 0; }
 EOF
   if $_pkg_config --exists libavformat ; then
@@ -6483,7 +6483,7 @@ elif test "$_libpostproc_so" = auto ; th
   cat > $TMPC << EOF
   #define USE_LIBPOSTPROC 1
   #include <inttypes.h>
-  #include <postproc/postprocess.h>
+  #include <libpostproc/postprocess.h>
   int main(void) { pp_get_mode_by_name_and_quality("de", 0); return 0; }
 EOF
   if cc_check -lpostproc $_ld_lm ; then

Modified: trunk/fmt-conversion.h
==============================================================================
--- trunk/fmt-conversion.h	(original)
+++ trunk/fmt-conversion.h	Mon Feb 25 16:46:36 2008
@@ -1,11 +1,7 @@
 #ifndef MPLAYER_FMT_CONVERSION_H
 #define MPLAYER_FMT_CONVERSION_H
 
-#ifdef USE_LIBAVUTIL_SO
-#include <ffmpeg/avutil.h>
-#else
-#include "avutil.h"
-#endif
+#include "libavutil/avutil.h"
 #include "img_format.h"
 
 enum PixelFormat imgfmt2pixfmt(int fmt)

Modified: trunk/gui/bitmap.c
==============================================================================
--- trunk/gui/bitmap.c	(original)
+++ trunk/gui/bitmap.c	Mon Feb 25 16:46:36 2008
@@ -5,11 +5,7 @@
 #include "mp_msg.h"
 #include "help_mp.h"
 #include "bitmap.h"
-#ifdef USE_LIBAVCODEC_SO
-#include <ffmpeg/avcodec.h>
-#else
 #include "libavcodec/avcodec.h"
-#endif
 #include "libavutil/intreadwrite.h"
 #include "libvo/fastmemcpy.h"
 

Modified: trunk/libaf/af_lavcresample.c
==============================================================================
--- trunk/libaf/af_lavcresample.c	(original)
+++ trunk/libaf/af_lavcresample.c	Mon Feb 25 16:46:36 2008
@@ -25,14 +25,8 @@
 
 #include "config.h"
 #include "af.h"
-
-#ifdef USE_LIBAVCODEC_SO
-#include <ffmpeg/avcodec.h>
-#include <ffmpeg/rational.h>
-#else
-#include "avcodec.h"
-#include "rational.h"
-#endif
+#include "libavcodec/avcodec.h"
+#include "libavutil/rational.h"
 
 // Data for specific instances of this filter
 typedef struct af_resample_s{

Modified: trunk/libmpcodecs/ad_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/ad_ffmpeg.c	(original)
+++ trunk/libmpcodecs/ad_ffmpeg.c	Mon Feb 25 16:46:36 2008
@@ -24,11 +24,7 @@ LIBAD_EXTERN(ffmpeg)
 
 #define assert(x)
 
-#ifdef USE_LIBAVCODEC_SO
-#include <ffmpeg/avcodec.h>
-#else
-#include "avcodec.h"
-#endif
+#include "libavcodec/avcodec.h"
 
 extern int avcodec_initialized;
 

Modified: trunk/libmpcodecs/ae_lavc.c
==============================================================================
--- trunk/libmpcodecs/ae_lavc.c	(original)
+++ trunk/libmpcodecs/ae_lavc.c	Mon Feb 25 16:46:36 2008
@@ -15,11 +15,7 @@
 #include "config.h"
 #include "libaf/af_format.h"
 #include "libaf/reorder_ch.h"
-#ifdef USE_LIBAVCODEC_SO
-#include <ffmpeg/avcodec.h>
-#else
 #include "libavcodec/avcodec.h"
-#endif
 
 static AVCodec        *lavc_acodec;
 static AVCodecContext *lavc_actx;
@@ -30,11 +26,7 @@ extern int  lavc_param_audio_global_head
 extern int  avcodec_initialized;
 static int compressed_frame_size = 0;
 #ifdef USE_LIBAVFORMAT
-#ifdef USE_LIBAVFORMAT_SO
-#include <ffmpeg/avformat.h>
-#else
 #include "libavformat/avformat.h"
-#endif
 extern const struct AVCodecTag *mp_wav_taglists[];
 #endif
 

Modified: trunk/libmpcodecs/native/nuppelvideo.c
==============================================================================
--- trunk/libmpcodecs/native/nuppelvideo.c	(original)
+++ trunk/libmpcodecs/native/nuppelvideo.c	Mon Feb 25 16:46:36 2008
@@ -20,11 +20,7 @@
 
 #include "libmpdemux/nuppelvideo.h" 
 #include "RTjpegN.h"
-#ifdef USE_LIBAVUTIL_SO
-#include <ffmpeg/lzo.h>
-#else
 #include "libavutil/lzo.h"
-#endif
 
 #define KEEP_BUFFER
 

Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	(original)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Mon Feb 25 16:46:36 2008
@@ -23,11 +23,7 @@ static vd_info_t info = {
 
 LIBVD_EXTERN(ffmpeg)
 
-#ifdef USE_LIBAVCODEC_SO
-#include <ffmpeg/avcodec.h>
-#else
 #include "libavcodec/avcodec.h"
-#endif
 
 #ifdef HAVE_XVMC
 #include "xvmc_render.h"

Modified: trunk/libmpcodecs/vd_lzo.c
==============================================================================
--- trunk/libmpcodecs/vd_lzo.c	(original)
+++ trunk/libmpcodecs/vd_lzo.c	Mon Feb 25 16:46:36 2008
@@ -5,12 +5,7 @@
 #include "mp_msg.h"
 
 #include "vd_internal.h"
-
-#ifdef USE_LIBAVUTIL_SO
-#include <ffmpeg/lzo.h>
-#else
 #include "libavutil/lzo.h"
-#endif
 
 #define MOD_NAME "DecLZO"
 

Modified: trunk/libmpcodecs/ve_lavc.c
==============================================================================
--- trunk/libmpcodecs/ve_lavc.c	(original)
+++ trunk/libmpcodecs/ve_lavc.c	Mon Feb 25 16:46:36 2008
@@ -30,11 +30,7 @@ extern char* passtmpfile;
 
 //===========================================================================//
 
-#ifdef USE_LIBAVCODEC_SO
-#include <ffmpeg/avcodec.h>
-#else
 #include "libavcodec/avcodec.h"
-#endif
 
 extern int avcodec_initialized;
 

Modified: trunk/libmpcodecs/ve_xvid4.c
==============================================================================
--- trunk/libmpcodecs/ve_xvid4.c	(original)
+++ trunk/libmpcodecs/ve_xvid4.c	Mon Feb 25 16:46:36 2008
@@ -55,12 +55,7 @@
 #include <assert.h>
 
 #include "m_option.h"
-
-#ifdef USE_LIBAVUTIL_SO
-#include <ffmpeg/avutil.h>
-#else
-#include "avutil.h"
-#endif
+#include "libavutil/avutil.h"
 
 #define FINE (!0)
 #define BAD (!FINE)

Modified: trunk/libmpcodecs/vf_lavc.c
==============================================================================
--- trunk/libmpcodecs/vf_lavc.c	(original)
+++ trunk/libmpcodecs/vf_lavc.c	Mon Feb 25 16:46:36 2008
@@ -10,12 +10,7 @@
 #include "img_format.h"
 #include "mp_image.h"
 #include "vf.h"
-
-#ifdef USE_LIBAVCODEC_SO
-#include <ffmpeg/avcodec.h>
-#else
 #include "libavcodec/avcodec.h"
-#endif
 
 extern int avcodec_initialized;
 

Modified: trunk/libmpcodecs/vf_lavcdeint.c
==============================================================================
--- trunk/libmpcodecs/vf_lavcdeint.c	(original)
+++ trunk/libmpcodecs/vf_lavcdeint.c	Mon Feb 25 16:46:36 2008
@@ -10,12 +10,7 @@
 #include "img_format.h"
 #include "mp_image.h"
 #include "vf.h"
-
-#ifdef USE_LIBAVCODEC_SO
-#include <ffmpeg/avcodec.h>
-#else
 #include "libavcodec/avcodec.h"
-#endif
 
 extern int avcodec_initialized;
 

Modified: trunk/libmpcodecs/vf_pp.c
==============================================================================
--- trunk/libmpcodecs/vf_pp.c	(original)
+++ trunk/libmpcodecs/vf_pp.c	Mon Feb 25 16:46:36 2008
@@ -15,18 +15,12 @@
 #include "img_format.h"
 #include "mp_image.h"
 #include "vf.h"
-
-
-#ifdef USE_LIBPOSTPROC_SO
-#include <postproc/postprocess.h>
-#elif defined(USE_LIBPOSTPROC)
-#define EMU_OLD
 #include "libpostproc/postprocess.h"
 
-#ifdef EMU_OLD
+#ifdef USE_LIBPOSTPROC_A
+#define EMU_OLD
 #include "libpostproc/postprocess_internal.h"
 #endif
-#endif
 
 struct vf_priv_s {
     int pp;

Modified: trunk/libmpcodecs/vf_sab.c
==============================================================================
--- trunk/libmpcodecs/vf_sab.c	(original)
+++ trunk/libmpcodecs/vf_sab.c	Mon Feb 25 16:46:36 2008
@@ -29,11 +29,7 @@
 #include <malloc.h>
 #endif
 
-#ifdef USE_LIBAVUTIL_SO
-#include <ffmpeg/avutil.h>
-#else
-#include "avutil.h"
-#endif
+#include "libavutil/avutil.h"
 #include "img_format.h"
 #include "mp_image.h"
 #include "vf.h"

Modified: trunk/libmpcodecs/vf_screenshot.c
==============================================================================
--- trunk/libmpcodecs/vf_screenshot.c	(original)
+++ trunk/libmpcodecs/vf_screenshot.c	Mon Feb 25 16:46:36 2008
@@ -20,12 +20,7 @@
 #include "vf_scale.h"
 
 #include "libswscale/swscale.h"
-
-#ifdef USE_LIBAVCODEC_SO
-#include <ffmpeg/avcodec.h>
-#else
 #include "libavcodec/avcodec.h"
-#endif
 
 struct vf_priv_s {
     int frameno;

Modified: trunk/libmpcodecs/vf_smartblur.c
==============================================================================
--- trunk/libmpcodecs/vf_smartblur.c	(original)
+++ trunk/libmpcodecs/vf_smartblur.c	Mon Feb 25 16:46:36 2008
@@ -29,11 +29,7 @@
 #include <malloc.h>
 #endif
 
-#ifdef USE_LIBAVUTIL_SO
-#include <ffmpeg/avutil.h>
-#else
-#include "avutil.h"
-#endif
+#include "libavutil/avutil.h"
 #include "img_format.h"
 #include "mp_image.h"
 #include "vf.h"

Modified: trunk/libmpdemux/demux_asf.c
==============================================================================
--- trunk/libmpdemux/demux_asf.c	(original)
+++ trunk/libmpdemux/demux_asf.c	Mon Feb 25 16:46:36 2008
@@ -79,9 +79,7 @@ static void init_priv (struct asf_priv* 
   asf->vid_ext_frame_index=-1;
 }
 
-#ifdef USE_LIBAVCODEC_SO
-#include <ffmpeg/avcodec.h>
-#elif defined(USE_LIBAVCODEC)
+#ifdef USE_LIBAVCODEC
 #include "libavcodec/avcodec.h"
 #else
 #define FF_INPUT_BUFFER_PADDING_SIZE 8

Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c	(original)
+++ trunk/libmpdemux/demux_lavf.c	Mon Feb 25 16:46:36 2008
@@ -31,17 +31,11 @@
 #include "m_option.h"
 #include "libvo/sub.h"
 
-#ifdef USE_LIBAVFORMAT_SO
-#include <ffmpeg/avformat.h>
-#include <ffmpeg/avutil.h>
-#include <ffmpeg/opt.h>
-#else
-#include "avformat.h"
-#include "avutil.h"
-#include "avi.h"
-#include "opt.h"
-#endif
-#include "riff.h"
+#include "libavformat/avformat.h"
+#include "libavutil/avutil.h"
+#include "libavformat/avi.h"
+#include "libavcodec/opt.h"
+#include "libavformat/riff.h"
 
 #define PROBE_BUF_SIZE 2048
 

Modified: trunk/libmpdemux/demux_mkv.c
==============================================================================
--- trunk/libmpdemux/demux_mkv.c	(original)
+++ trunk/libmpdemux/demux_mkv.c	Mon Feb 25 16:46:36 2008
@@ -39,13 +39,8 @@
 #include <zlib.h>
 #endif
 
-#ifdef USE_LIBAVUTIL_SO
-#include <ffmpeg/lzo.h>
-#include <ffmpeg/intreadwrite.h>
-#else
 #include "libavutil/lzo.h"
 #include "libavutil/intreadwrite.h"
-#endif
 #include "libavutil/avstring.h"
 
 static unsigned char sipr_swaps[38][2]={

Modified: trunk/libmpdemux/demux_real.c
==============================================================================
--- trunk/libmpdemux/demux_real.c	(original)
+++ trunk/libmpdemux/demux_real.c	Mon Feb 25 16:46:36 2008
@@ -33,9 +33,7 @@ Video codecs: (supported by RealPlayer8 
 #include "demuxer.h"
 #include "stheader.h"
 
-#ifdef USE_LIBAVCODEC_SO
-#include <ffmpeg/avcodec.h>
-#elif defined(USE_LIBAVCODEC)
+#ifdef USE_LIBAVCODEC
 #include "libavcodec/avcodec.h"
 #else
 #define FF_INPUT_BUFFER_PADDING_SIZE 8

Modified: trunk/libmpdemux/demux_rtp_internal.h
==============================================================================
--- trunk/libmpdemux/demux_rtp_internal.h	(original)
+++ trunk/libmpdemux/demux_rtp_internal.h	Mon Feb 25 16:46:36 2008
@@ -10,9 +10,7 @@ extern "C" {
 #ifndef DEMUXER_H
 #include "demuxer.h"
 #endif
-#ifdef USE_LIBAVCODEC_SO
-#include <ffmpeg/avcodec.h>
-#elif defined(USE_LIBAVCODEC)
+#ifdef USE_LIBAVCODEC
 #include "libavcodec/avcodec.h"
 #endif
 }

Modified: trunk/libmpdemux/demux_viv.c
==============================================================================
--- trunk/libmpdemux/demux_viv.c	(original)
+++ trunk/libmpdemux/demux_viv.c	Mon Feb 25 16:46:36 2008
@@ -14,9 +14,7 @@
 #include "demuxer.h"
 #include "stheader.h"
 
-#ifdef USE_LIBAVCODEC_SO
-#include <ffmpeg/avcodec.h>
-#elif defined(USE_LIBAVCODEC)
+#ifdef USE_LIBAVCODEC
 #include "libavcodec/avcodec.h"
 #else
 #define FF_INPUT_BUFFER_PADDING_SIZE 8

Modified: trunk/libmpdemux/muxer_lavf.c
==============================================================================
--- trunk/libmpdemux/muxer_lavf.c	(original)
+++ trunk/libmpdemux/muxer_lavf.c	Mon Feb 25 16:46:36 2008
@@ -17,11 +17,7 @@
 #include "demuxer.h"
 #include "stheader.h"
 #include "m_option.h"
-#ifdef USE_LIBAVFORMAT_SO
-#include <ffmpeg/avformat.h>
-#else
-#include "avformat.h"
-#endif
+#include "libavformat/avformat.h"
 #include "libavutil/avstring.h"
 
 enum PixelFormat imgfmt2pixfmt(int fmt);

Modified: trunk/libmpdemux/video.c
==============================================================================
--- trunk/libmpdemux/video.c	(original)
+++ trunk/libmpdemux/video.c	Mon Feb 25 16:46:36 2008
@@ -22,9 +22,7 @@
 /* sub_cc (closed captions)*/
 #include "sub_cc.h"
 
-#ifdef USE_LIBAVCODEC_SO
-#include <ffmpeg/avcodec.h>
-#elif defined(USE_LIBAVCODEC)
+#ifdef USE_LIBAVCODEC
 #include "libavcodec/avcodec.h"
 #else
 #define FF_INPUT_BUFFER_PADDING_SIZE 8

Modified: trunk/libvo/vo_md5sum.c
==============================================================================
--- trunk/libvo/vo_md5sum.c	(original)
+++ trunk/libvo/vo_md5sum.c	Mon Feb 25 16:46:36 2008
@@ -41,11 +41,7 @@
 #include "video_out_internal.h"
 #include "mplayer.h"			/* for exit_player() */
 #include "help_mp.h"
-#ifdef USE_LIBAVUTIL_SO
-#include "ffmpeg/md5.h"
-#else
 #include "libavutil/md5.h"
-#endif
 
 /* ------------------------------------------------------------------------- */
 

Modified: trunk/mencoder.c
==============================================================================
--- trunk/mencoder.c	(original)
+++ trunk/mencoder.c	Mon Feb 25 16:46:36 2008
@@ -84,10 +84,8 @@
 #include "stream/stream_dvdnav.h"
 #endif
 
-#ifdef USE_LIBAVCODEC_SO
-#include <ffmpeg/avcodec.h>
-#elif USE_LIBAVCODEC_A
-#include "avcodec.h"
+#ifdef USE_LIBAVCODEC
+#include "libavcodec/avcodec.h"
 #endif
 
 #include "libmpcodecs/ae.h"

Modified: trunk/spudec.c
==============================================================================
--- trunk/spudec.c	(original)
+++ trunk/spudec.c	Mon Feb 25 16:46:36 2008
@@ -23,11 +23,7 @@
 #include <math.h>
 #include "libvo/video_out.h"
 #include "spudec.h"
-#ifdef USE_LIBAVUTIL_SO
-#include <ffmpeg/avutil.h>
-#else
-#include "avutil.h"
-#endif
+#include "libavutil/avutil.h"
 #include "libswscale/swscale.h"
 
 /* Valid values for spu_aamode:

Modified: trunk/stream/realrtsp/real.c
==============================================================================
--- trunk/stream/realrtsp/real.c	(original)
+++ trunk/stream/realrtsp/real.c	Mon Feb 25 16:46:36 2008
@@ -36,11 +36,7 @@
 #include "asmrp.h"
 #include "sdpplin.h"
 #include "xbuffer.h"
-#if USE_LIBAVUTIL_SO
-#include "ffmpeg/md5.h"
-#else
 #include "libavutil/md5.h"
-#endif
 #include "libavutil/intreadwrite.h"
 #include "../http.h"
 #include "mp_msg.h"



More information about the MPlayer-cvslog mailing list