You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
thp: signal EOF
This commit is contained in:
committed by
Paul B Mahol
parent
9a0ecd507a
commit
25d8ebd422
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user