]> git.pld-linux.org Git - packages/aubio.git/commitdiff
- fix building with ffmpeg 4.0 auto/th/aubio-0.4.3-3
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 28 Apr 2018 23:33:02 +0000 (01:33 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 28 Apr 2018 23:33:02 +0000 (01:33 +0200)
- rel 3

aubio.spec
ffmpeg4.patch [new file with mode: 0644]

index c20737b90a3eca3b1096c3128bdc7d2eeb825d2d..a9c63c25b5591b1b9ba1ef1ce5862828f6fe8481 100644 (file)
@@ -7,11 +7,12 @@ Summary:      aubio - library for audio labelling
 Summary(pl.UTF-8):     aubio - biblioteka do oznaczania dźwięku
 Name:          aubio
 Version:       0.4.3
-Release:       2
+Release:       3
 License:       GPL v3+
 Group:         Libraries
 Source0:       http://aubio.piem.org/pub/%{name}-%{version}.tar.bz2
 # Source0-md5: 52a960cfc8a3e3125f3a258545d1c7e5
+Patch0:                ffmpeg4.patch
 URL:           http://aubio.piem.org/
 BuildRequires: alsa-lib-devel >= 0.9.0
 BuildRequires: doxygen
@@ -131,6 +132,7 @@ Wiązania Pythona do biblioteki aubio.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 export CC="%{__cc}"
diff --git a/ffmpeg4.patch b/ffmpeg4.patch
new file mode 100644 (file)
index 0000000..409b7a0
--- /dev/null
@@ -0,0 +1,11 @@
+--- aubio-0.4.3/src/io/source_avcodec.c~       2016-07-25 02:51:30.000000000 +0200
++++ aubio-0.4.3/src/io/source_avcodec.c        2018-04-29 01:29:40.145074749 +0200
+@@ -43,7 +43,7 @@
+ #include "fmat.h"
+ #include "source_avcodec.h"
+-#define AUBIO_AVCODEC_MAX_BUFFER_SIZE FF_MIN_BUFFER_SIZE
++#define AUBIO_AVCODEC_MAX_BUFFER_SIZE AV_INPUT_BUFFER_MIN_SIZE
+ struct _aubio_source_avcodec_t {
+   uint_t hop_size;
This page took 0.094347 seconds and 4 git commands to generate.