summaryrefslogtreecommitdiff
path: root/test/file_group_test.cc
AgeCommit message (Collapse)Author
2022-11-26Return AVERROR_EOF from the avio_read method when appropriate.Carl Hetherington
2021-05-03C++11 tidying.Carl Hetherington
2020-11-28Fix over-read behaviour of FileGroup to be the same on all platforms.Carl Hetherington
Instead of relying on the operating system's behaviour when seeking off the end of a file, keep our own _position. This normalises the behaviour between POSIX and Windows.
2020-11-24Fix the behaviour of FileGroup when seeking too far.Carl Hetherington
Previously, if you did a seek off the end of the file group, the seek would return an error. This is not what fseek() does; it returns no error, and preserves the file pointer (returned by ftell()) as if the seek had been successful. fread()s after a too-far seek return no data, of course. Parsing some files (the example used to find the bug was a H264 MP4) involves a seek which is to the byte after the end of the mp4 file. If this fails the whole header parsing fails and DCP-o-matic refuses to use the file.
2017-04-19Doxygen tweaks.Carl Hetherington
2016-05-25No-op; fix GPL address and use the explicit-program-name version.Carl Hetherington
2015-06-21No-op: remove all trailing whitespace.Carl Hetherington
2014-04-29Various comment fixes to tests.Carl Hetherington
2013-11-23Small FileGroup tidy-up; actually build FileGroup test; rearrange test wscript.Carl Hetherington
2013-11-23Remove libavformat-specific bit from FileGroup.Carl Hetherington
2013-11-23Add FileGroup.Carl Hetherington