mirror of https://git.ffmpeg.org/ffmpeg.git
tta: Fix returned error code at EOF
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4925b6e784
commit
877f6eb5fb
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue