summarylogtreecommitdiffstats
path: root/alephone-ffmpeg-add-magic-number.diff
diff options
context:
space:
mode:
Diffstat (limited to 'alephone-ffmpeg-add-magic-number.diff')
-rw-r--r--alephone-ffmpeg-add-magic-number.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/alephone-ffmpeg-add-magic-number.diff b/alephone-ffmpeg-add-magic-number.diff
new file mode 100644
index 00000000000..d23c3104b91
--- /dev/null
+++ b/alephone-ffmpeg-add-magic-number.diff
@@ -0,0 +1,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