Commit 6f856cb5 authored by Vincent Penquerc'h's avatar Vincent Penquerc'h

oggdemux: increase EOS granpos detection chunk size

This can be too small on some files to find a valid granule.
parent 14e02d12
......@@ -48,7 +48,7 @@
#define CHUNKSIZE (8500) /* this is out of vorbisfile */
/* we hope we get a granpos within this many bytes off the end */
#define DURATION_CHUNK_OFFSET (64*1024)
#define DURATION_CHUNK_OFFSET (128*1024)
/* An Ogg page can not be larger than 255 segments of 255 bytes, plus
26 bytes of header */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment