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:
parent
81065d41b6
commit
5fc54a6caa
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user