aboutsummaryrefslogtreecommitdiffstats
path: root/audio/acoustid-fingerprinter/files/patch-decoder.h
blob: e1d52b050f75934efd621fe764102f3b883afa2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- decoder.h.orig  2013-10-21 12:47:16.077685162 -0200
+++ decoder.h   2013-10-21 12:47:47.588683149 -0200
@@ -35,6 +35,10 @@
 }
 #include "fingerprintcalculator.h"
 
+#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE
+#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000 // 1 second of 48khz 32bit audio
+#endif
+
 #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(52, 64, 0)
 #define AV_SAMPLE_FMT_S16 SAMPLE_FMT_S16
 #endif