diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-03-09 15:00:37 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-03-09 15:00:37 +0200 |
commit | 5fc54a6caad5f24b993da2e282c896269a6abc49 (patch) | |
tree | 8ab972b0147337c9f476e5e3ed3f39730ea44bc3 /libmpdemux | |
parent | 81065d41b6d0844f138e0ad132d7861a03a4efc0 (diff) |
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.
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demuxer.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |