0004-Fix-FTBFS-with-FFmpeg-4.0.patch 981 B

12345678910111213141516171819202122232425262728293031
  1. From 4ad37284447e768d641768c7c8a69c4640c83181 Mon Sep 17 00:00:00 2001
  2. From: James Cowgill <jcowgill@debian.org>
  3. Date: Sat, 18 Aug 2018 13:26:59 +0200
  4. Subject: [PATCH] Fix FTBFS with FFmpeg 4.0
  5. Bug-Debian: https://bugs.debian.org/888335
  6. Downloaded from Debian:
  7. https://sources.debian.org/src/squeezelite/1.8-4.1/debian/patches/ffmpeg4.0.patch/
  8. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  9. ---
  10. ffmpeg.c | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/ffmpeg.c b/ffmpeg.c
  13. index bc9136c..d51b08e 100644
  14. --- a/ffmpeg.c
  15. +++ b/ffmpeg.c
  16. @@ -264,7 +264,7 @@ static decode_state ff_decode(void) {
  17. ff->mmsh_bytes_left = ff->mmsh_bytes_pad = ff->mmsh_packet_len = 0;
  18. if (!ff->readbuf) {
  19. - ff->readbuf = AV(ff, malloc, READ_SIZE + FF_INPUT_BUFFER_PADDING_SIZE);
  20. + ff->readbuf = AV(ff, malloc, READ_SIZE + AV_INPUT_BUFFER_PADDING_SIZE);
  21. }
  22. avio = AVIO(ff, alloc_context, ff->readbuf, READ_SIZE, 0, NULL, _read_data, NULL, NULL);
  23. --
  24. 2.18.0