Branch: Tag:

2002-12-06

2002-12-06 12:35:44 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

some more tests and stuff to make the module work with modern versions of libavcodec

Rev: src/modules/_Ffmpeg/Makefile.in:1.2
Rev: src/modules/_Ffmpeg/acconfig.h:1.6
Rev: src/modules/_Ffmpeg/codecs_auto.c:1.1
Rev: src/modules/_Ffmpeg/configure.in:1.9
Rev: src/modules/_Ffmpeg/ffmpeg.c:1.14

1: + /* this file only includes the header files, to use +  * sed in the Makefile to find the various codecs +  * (that are enum'ed and not #defined and can't be detected otherwise) +  */    -  + #include "config.h" +  + #ifdef HAVE_FFMPEG_AVCODEC_H + #include <ffmpeg/avcodec.h> + #else + #ifdef HAVE_LIBAVCODEC_AVCODEC_H + #include <libavcodec/avcodec.h> + #else + #ifdef HAVE_LIBFFMPEG_AVCODEC_H + #include <libffmpeg/avcodec.h> + #else + #ifdef HAVE_AVCODEC_H + #include <avcodec.h> + #endif + #endif + #endif + #endif +    Newline at end of file added.