diff options
author | Matteo Bernardini | 2023-01-30 09:55:34 +0100 |
---|---|---|
committer | Matteo Bernardini | 2023-01-30 09:55:34 +0100 |
commit | 7af8241016f316ad85a647d886b04f92e10a6c6b (patch) | |
tree | 751f2c1d109985d496e60b7e5c31508e0574745b /libraries/aubio/aubio-0.4.9-ffmpeg-5.0.patch | |
parent | 81da3110fda92b7de050fbe958df82fb0af3d536 (diff) | |
download | slackbuilds-b0fd0f8555feb57a3c636ad280d16232c737483f.tar.gz |
20230130.1 global branch merge.current-20230130.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/aubio/aubio-0.4.9-ffmpeg-5.0.patch')
-rw-r--r-- | libraries/aubio/aubio-0.4.9-ffmpeg-5.0.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libraries/aubio/aubio-0.4.9-ffmpeg-5.0.patch b/libraries/aubio/aubio-0.4.9-ffmpeg-5.0.patch new file mode 100644 index 0000000000..e473f596f4 --- /dev/null +++ b/libraries/aubio/aubio-0.4.9-ffmpeg-5.0.patch @@ -0,0 +1,14 @@ +diff -up aubio-0.4.9/src/io/source_avcodec.c.omv~ aubio-0.4.9/src/io/source_avcodec.c +--- aubio-0.4.9/src/io/source_avcodec.c.omv~ 2022-01-16 03:12:59.164776223 +0100 ++++ aubio-0.4.9/src/io/source_avcodec.c 2022-01-16 03:13:44.000066377 +0100 +@@ -68,6 +68,10 @@ + #define AUBIO_AVCODEC_MAX_BUFFER_SIZE AV_INPUT_BUFFER_MIN_SIZE + #endif + ++#if LIBAVCODEC_VERSION_MAJOR >= 59 ++#define FF_API_LAVF_AVCTX 1 ++#endif ++ + struct _aubio_source_avcodec_t { + uint_t hop_size; + uint_t samplerate; |