forked from mia/Aegisub
Remove support for old FFMPEG releases, if you require or want this support you are officially on your own, closes #875.
Originally committed to SVN as r3039.
This commit is contained in:
parent
f1c598ef58
commit
14e0a51876
4 changed files with 0 additions and 21 deletions
|
@ -618,11 +618,6 @@ AM_CONDITIONAL([HAVE_OPENAL], [test "$with_openal" != "no"])
|
|||
# Video / Audio Providers
|
||||
#########################
|
||||
|
||||
AC_ARG_ENABLE(old-ffmpeg, [ --enable-old-ffmpeg Use old FFMPEG header locations (default=no)])
|
||||
if test "$enable_old_ffmpeg" = "yes"; then
|
||||
AC_DEFINE([WITH_OLD_FFMPEG], [1], [Use old FFMPEG header locations])
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(ffmpeg, [ --without-ffmpeg build without FFMPEG support.
|
||||
Disables FFMPEG and FFmpegSource A/V providers.
|
||||
(default: auto)], [ffmpeg_disabled="(disabled)"; with_ffmpeg="no"])
|
||||
|
|
|
@ -52,13 +52,8 @@
|
|||
*/
|
||||
|
||||
extern "C" {
|
||||
#ifdef WITH_OLD_FFMPEG
|
||||
#include <ffmpeg/avcodec.h>
|
||||
#include <ffmpeg/avformat.h>
|
||||
#else
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavformat/avformat.h>
|
||||
#endif /* WITH_OLD_FFMPEG */
|
||||
}
|
||||
#include "mkv_wrap.h"
|
||||
#include "lavc_file.h"
|
||||
|
|
|
@ -41,13 +41,8 @@
|
|||
#endif
|
||||
#include <wx/filename.h>
|
||||
extern "C" {
|
||||
#ifdef WITH_OLD_FFMPEG
|
||||
#include <ffmpeg/avcodec.h>
|
||||
#include <ffmpeg/avformat.h>
|
||||
#else
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavformat/avformat.h>
|
||||
#endif /* WITH_OLD_FFMPEG */
|
||||
}
|
||||
#include "include/aegisub/aegisub.h"
|
||||
|
||||
|
|
|
@ -44,15 +44,9 @@
|
|||
#endif
|
||||
#include <vector>
|
||||
extern "C" {
|
||||
#ifdef WITH_OLD_FFMPEG
|
||||
#include <ffmpeg/avcodec.h>
|
||||
#include <ffmpeg/avformat.h>
|
||||
#include <ffmpeg/swscale.h>
|
||||
#else
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavformat/avformat.h>
|
||||
#include <libswscale/swscale.h>
|
||||
#endif /* WITH_OLD_FFMPEG */
|
||||
}
|
||||
#include "include/aegisub/video_provider.h"
|
||||
#include "include/aegisub/aegisub.h"
|
||||
|
|
Loading…
Reference in a new issue