Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef GNASH_MEDIA_FFMPEG_HEADERS_H
00020 #define GNASH_MEDIA_FFMPEG_HEADERS_H
00021
00022 #ifdef HAVE_CONFIG_H
00023 #include "gnashconfig.h"
00024 #endif
00025
00027 #ifndef __STDC_CONSTANT_MACROS
00028 # define __STDC_CONSTANT_MACROS
00029 #endif
00030
00031
00032 #if !defined INT64_C
00033 #if defined __WORDSIZE && __WORDSIZE == 64
00034 #define INT64_C(c) c ## L
00035 #else
00036 #define INT64_C(c) c ## LL
00037 #endif
00038 #endif
00039
00040 #ifdef HAVE_FFMPEG_AVCODEC_H
00041 extern "C" {
00042 # include <ffmpeg/avcodec.h>
00043 }
00044 #endif
00045
00046 #ifdef HAVE_LIBAVCODEC_AVCODEC_H
00047 extern "C" {
00048 # include <libavcodec/avcodec.h>
00049 }
00050 #endif
00051
00052 #ifdef HAVE_FFMPEG_AVFORMAT_H
00053 extern "C" {
00054 #include <ffmpeg/avformat.h>
00055 }
00056 #endif
00057
00058 #ifdef HAVE_LIBAVFORMAT_AVFORMAT_H
00059 extern "C" {
00060 #include <libavformat/avformat.h>
00061 }
00062 #endif
00063
00064
00065 #ifdef HAVE_SWSCALE_H
00066 extern "C" {
00067 #include <swscale.h>
00068 }
00069 #endif
00070
00071 #ifdef HAVE_FFMPEG_SWSCALE_H
00072 extern "C" {
00073 #include <ffmpeg/swscale.h>
00074 }
00075 #define HAVE_SWSCALE_H 1
00076 #endif
00077
00078 #ifdef HAVE_LIBSWSCALE_SWSCALE_H
00079 extern "C" {
00080 #include <libswscale/swscale.h>
00081 }
00082 #define HAVE_SWSCALE_H 1
00083 #endif
00084
00085
00086 #endif // GNASH_MEDIA_FFMPEG_HEADERS_H