d2vsource
d2vsource copied to clipboard
Return AVERROR_EOF from read_packet at EOF instead of 0
ffmpeg's examples/avio_reading.c does that as well, and looking through that file's history reveals that this return was added in 2017. I presume something must've changed in libav* internals but this shouldn't break older ffmpegs.
Fixes #51 .