blob: d23c3104b91e40e5f4ebd7313de0775cf5321a23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff -rupN AlephOne-20140104/Source_Files/FFmpeg/SDL_ffmpeg.c AlephOne-20140104.new/Source_Files/FFmpeg/SDL_ffmpeg.c
--- AlephOne-20140104/Source_Files/FFmpeg/SDL_ffmpeg.c 2013-07-05 02:33:29.000000000 +0200
+++ AlephOne-20140104.new/Source_Files/FFmpeg/SDL_ffmpeg.c 2014-03-16 01:53:19.327213212 +0100
@@ -48,6 +48,11 @@ extern "C"
}
#endif
+/* set magic number for 1 second of 48khz 32bit audio (removed from upstream) */
+#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE
+#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000
+#endif
+
#include "SDL_ffmpeg.h"
#ifdef MSVC
|