d2vsource icon indicating copy to clipboard operation
d2vsource copied to clipboard

Return AVERROR_EOF from read_packet at EOF instead of 0

Open lighterowl opened this issue 3 years ago • 0 comments

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 .

lighterowl avatar Mar 23 '22 22:03 lighterowl