Commit 25d8ebd4 authored by Piotr Bandurski's avatar Piotr Bandurski Committed by Paul B Mahol

thp: signal EOF

parent 9a0ecd50
......@@ -151,7 +151,7 @@ static int thp_read_packet(AVFormatContext *s,
if (thp->audiosize == 0) {
/* Terminate when last frame is reached. */
if (thp->frame >= thp->framecnt)
return AVERROR(EIO);
return AVERROR_EOF;
avio_seek(pb, thp->next_frame, SEEK_SET);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment