Go to the documentation of this file.
4 #ifndef __FFMPEG_INIT_H__INCLUDED__
5 #define __FFMPEG_INIT_H__INCLUDED__
16 #define HAVE_FFMPEG_SWSCALE_H
18 #ifdef HAVE_FFMPEG_SWSCALE_H //Not sure how many people have swscale.
19 #include <ffmpeg/swscale.h>
21 #ifdef HAVE_LIBSWSCALE_SWSCALE_H
22 #include <libswscale/swscale.h>
27 #define DEPRECATED_IMG_CONVERT 1
31 #ifdef HAVE_LIBAVCODEC_AVCODEC_H
32 #include <libavcodec/avcodec.h>
37 #include <ffmpeg/avcodec.h>
40 #ifdef HAVE_LIBAVFORMAT_AVFORMAT_H
41 #include <libavformat/avformat.h>
43 #ifdef HAVE_AVFORMAT_H
46 #include <ffmpeg/avformat.h>
49 #ifdef HAVE_LIBAVFORMAT_AVIO_H
50 #include <libavformat/avio.h>
55 #include <ffmpeg/avio.h>
61 #if (LIBAVCODEC_VERSION_MAJOR > 52)
62 #define CODEC_TYPE_AUDIO AVMEDIA_TYPE_AUDIO
63 #define CODEC_TYPE_VIDEO AVMEDIA_TYPE_VIDEO
69 #endif //__FFMPEG_INIT_H__INCLUDED__