From 5fc54a6caad5f24b993da2e282c896269a6abc49 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Tue, 9 Mar 2010 15:00:37 +0200 Subject: [PATCH] demuxer.h: increase input buffer padding to 64 to match FFmpeg FFmpeg increased the amount of padding that must be readable beyond input buffers without SIGSEGV from 8 to 64, and the MPlayer value must be changed accordingly. --- libmpdemux/demuxer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpdemux/demuxer.h b/libmpdemux/demuxer.h index def50af23e..6aaa7c8b79 100644 --- a/libmpdemux/demuxer.h +++ b/libmpdemux/demuxer.h @@ -117,7 +117,7 @@ struct MPOpts; #define SEEK_FORWARD (1 << 2) #define SEEK_BACKWARD (1 << 3) -#define MP_INPUT_BUFFER_PADDING_SIZE 8 +#define MP_INPUT_BUFFER_PADDING_SIZE 64 // Holds one packet/frame/whatever typedef struct demux_packet {