Re: [FFmpeg-devel] [PATCH 13/13] avformat/matroskadec: Improve error/EOF checks III

2019-06-24 Thread James Almer
On 6/23/2019 8:42 PM, Andreas Rheinhardt wrote: > Up until now, when an element was skipped, it was relied upon > ffio_limit to make sure that there is enough data available to skip. > ffio_limit itself relies upon the availability of the file's size. As > this needn't be available, the check has

[FFmpeg-devel] [PATCH 13/13] avformat/matroskadec: Improve error/EOF checks III

2019-06-23 Thread Andreas Rheinhardt
Up until now, when an element was skipped, it was relied upon ffio_limit to make sure that there is enough data available to skip. ffio_limit itself relies upon the availability of the file's size. As this needn't be available, the check has been refined: First one byte less than intended is