diff options
author | wm4 <wm4@nowhere> | 2018-10-02 19:58:05 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-19 20:37:04 +0200 |
commit | ff1f863bda4f06f176119daa1f1bce2a8c6ee81f (patch) | |
tree | 98ac651d43e5da6e1d3d6b4fc3a7223934cdbc8a /demux/demux_lavf.c | |
parent | c91e659f88450bee3937bdef4338903c508cbba2 (diff) | |
download | mpv-ff1f863bda4f06f176119daa1f1bce2a8c6ee81f.tar.bz2 mpv-ff1f863bda4f06f176119daa1f1bce2a8c6ee81f.tar.xz |
demux_lavf: increase max. probe size
For those shitty mp3s with extremely large ID3v2/APIC tags, and for
which libavformat insists on reading all data until after the ID3v2.
Diffstat (limited to 'demux/demux_lavf.c')
-rw-r--r-- | demux/demux_lavf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c index 84980937d0..c53c00a8c3 100644 --- a/demux/demux_lavf.c +++ b/demux/demux_lavf.c @@ -60,7 +60,7 @@ #endif #define INITIAL_PROBE_SIZE STREAM_BUFFER_SIZE -#define PROBE_BUF_SIZE (2 * 1024 * 1024) +#define PROBE_BUF_SIZE (10 * 1024 * 1024) // Should correspond to IO_BUFFER_SIZE in libavformat/aviobuf.c (not public) |