1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00

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.
This commit is contained in:
Uoti Urpala 2010-03-09 15:00:37 +02:00
parent 81065d41b6
commit 5fc54a6caa

View File

@ -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 {