You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
tta: Fix returned error code at EOF
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -126,7 +126,7 @@ static int tta_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
|
||||
// FIXME!
|
||||
if (c->currentframe >= c->totalframes)
|
||||
return -1;
|
||||
return AVERROR_EOF;
|
||||
|
||||
size = st->index_entries[c->currentframe].size;
|
||||
|
||||
|
Reference in New Issue
Block a user