aboutsummaryrefslogtreecommitdiff
path: root/audio/lastfm/ffmpeg-2.0.patch
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2014-01-02 09:53:37 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-07 11:13:59 -0600
commitc0d688edf0a7ca2284f73345c588962ac0b4bc47 (patch)
tree61f0f59a1c04165953111f309fa6adf078ef6582 /audio/lastfm/ffmpeg-2.0.patch
parent09ebaf40e08c33261c8cbf047c1ff2e771cf9b9f (diff)
audio/lastfm: Added (Official player from Last.fm).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/lastfm/ffmpeg-2.0.patch')
-rw-r--r--audio/lastfm/ffmpeg-2.0.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/lastfm/ffmpeg-2.0.patch b/audio/lastfm/ffmpeg-2.0.patch
new file mode 100644
index 000000000000..a8e7c93fb001
--- /dev/null
+++ b/audio/lastfm/ffmpeg-2.0.patch
@@ -0,0 +1,13 @@
+diff -Naur lastfm-desktop-2.1.36.orig/app/fingerprinter/LAV_Source.cpp lastfm-desktop-2.1.36/app/fingerprinter/LAV_Source.cpp
+--- lastfm-desktop-2.1.36.orig/app/fingerprinter/LAV_Source.cpp 2013-09-03 12:19:10.000000000 +0000
++++ lastfm-desktop-2.1.36/app/fingerprinter/LAV_Source.cpp 2014-01-01 02:15:23.422896266 +0000
+@@ -34,6 +34,9 @@
+ # include <libavresample/avresample.h>
+ # include <libavutil/opt.h>
+ #endif
++#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE
++#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000 // 1 second of 48khz 32bit audio
++#endif
+ }
+
+ #include <iostream>