You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-video/ffdiaporama/files/ffdiaporama-2.1-ffmpeg-2.4....

17 lines
755 B

--- src/ffDiaporama/engine/cDeviceModelDef.h 2015-02-14 10:02:12.592365100 +0100
+++ src/ffDiaporama/engine/cDeviceModelDef.h 2015-02-14 10:01:59.202463800 +0100
@@ -84,7 +84,12 @@
#elif (LIBAVUTIL_VERSION_MICRO>=100)&&(LIBAVCODEC_VERSION_MICRO>=100)&&(LIBAVFORMAT_VERSION_MICRO>=100)&&(LIBAVDEVICE_VERSION_MICRO>=100)&&(LIBAVFILTER_VERSION_MICRO>=100)&&(LIBSWSCALE_VERSION_MICRO>=100)
#define FFMPEG
#include "libswresample/swresample.h"
- #define RESAMPLE_MAX_CHANNELS SWR_CH_MAX
+ #ifdef SWR_CH_MAX
+ #define RESAMPLE_MAX_CHANNELS SWR_CH_MAX
+ #else
+ #define RESAMPLE_MAX_CHANNELS 32
+ #endif
+
#include "libavfilter/avcodec.h"
#include "libavfilter/buffersink.h"
#include "libavfilter/buffersrc.h"