oggdemux: increase EOS granpos detection chunk size

This can be too small on some files to find a valid granule.

https://bugzilla.gnome.org/show_bug.cgi?id=770314
This commit is contained in:
Vincent Penquerc'h 2016-08-26 11:27:17 +01:00
parent 14e02d127a
commit 6f856cb54d

View file

@ -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 */