mirror of https://github.com/odrling/Aegisub
change the ffmpeg includes to libav*/*.h for good this time, but you can still define WITH_OLD_FFMPEG to get the old includes.
Originally committed to SVN as r2398.
This commit is contained in:
parent
dde0214246
commit
00265d6ec4
|
@ -52,8 +52,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#ifdef WITH_ANCIENT_FFMPEG
|
||||||
#include <ffmpeg/avcodec.h>
|
#include <ffmpeg/avcodec.h>
|
||||||
#include <ffmpeg/avformat.h>
|
#include <ffmpeg/avformat.h>
|
||||||
|
#else
|
||||||
|
#include <libavcodec/avcodec.h>
|
||||||
|
#include <libavformat/avformat.h>
|
||||||
|
#endif /* WITH_ANCIENT_FFMPEG */
|
||||||
}
|
}
|
||||||
#include "mkv_wrap.h"
|
#include "mkv_wrap.h"
|
||||||
#include "lavc_file.h"
|
#include "lavc_file.h"
|
||||||
|
|
|
@ -41,8 +41,13 @@
|
||||||
#endif
|
#endif
|
||||||
#include <wx/filename.h>
|
#include <wx/filename.h>
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#ifdef WITH_ANCIENT_FFMPEG
|
||||||
#include <ffmpeg/avcodec.h>
|
#include <ffmpeg/avcodec.h>
|
||||||
#include <ffmpeg/avformat.h>
|
#include <ffmpeg/avformat.h>
|
||||||
|
#else
|
||||||
|
#include <libavcodec/avcodec.h>
|
||||||
|
#include <libavformat/avformat.h>
|
||||||
|
#endif /* WITH_ANCIENT_FFMPEG */
|
||||||
}
|
}
|
||||||
#include "include/aegisub/aegisub.h"
|
#include "include/aegisub/aegisub.h"
|
||||||
|
|
||||||
|
|
|
@ -44,9 +44,15 @@
|
||||||
#endif
|
#endif
|
||||||
#include <vector>
|
#include <vector>
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#ifdef WITH_ANCIENT_FFMPEG
|
||||||
#include <ffmpeg/avcodec.h>
|
#include <ffmpeg/avcodec.h>
|
||||||
#include <ffmpeg/avformat.h>
|
#include <ffmpeg/avformat.h>
|
||||||
#include <ffmpeg/swscale.h>
|
#include <ffmpeg/swscale.h>
|
||||||
|
#else
|
||||||
|
#include <libavcodec/avcodec.h>
|
||||||
|
#include <libavformat/avformat.h>
|
||||||
|
#include <libswscale/swscale.h>
|
||||||
|
#endif /* WITH_ANCIENT_FFMPEG */
|
||||||
}
|
}
|
||||||
#include "include/aegisub/video_provider.h"
|
#include "include/aegisub/video_provider.h"
|
||||||
#include "include/aegisub/aegisub.h"
|
#include "include/aegisub/aegisub.h"
|
||||||
|
|
Loading…
Reference in New Issue