Codebase list squeezelite / debian/1.8-5 debian / patches / ffmpeg4.0.patch
debian/1.8-5

Tree @debian/1.8-5 (Download .tar.gz)

ffmpeg4.0.patch @debian/1.8-5raw · history · blame

Description: Fix FTBFS with FFmpeg 4.0
Author: James Cowgill <jcowgill@debian.org>
Bug-Debian: https://bugs.debian.org/888335
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -264,7 +264,7 @@ static decode_state ff_decode(void) {
 		ff->mmsh_bytes_left = ff->mmsh_bytes_pad = ff->mmsh_packet_len = 0;
 
 		if (!ff->readbuf) {
-			ff->readbuf = AV(ff, malloc, READ_SIZE +  FF_INPUT_BUFFER_PADDING_SIZE);
+			ff->readbuf = AV(ff, malloc, READ_SIZE +  AV_INPUT_BUFFER_PADDING_SIZE);
 		}
 
 		avio = AVIO(ff, alloc_context, ff->readbuf, READ_SIZE, 0, NULL, _read_data, NULL, NULL);