mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-29 18:53:02 +00:00
tta: Fix returned error code at EOF
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
This commit is contained in:
parent
d8b33a9989
commit
4b4acc544f
@ -126,7 +126,7 @@ static int tta_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
|
|
||||||
// FIXME!
|
// FIXME!
|
||||||
if (c->currentframe >= c->totalframes)
|
if (c->currentframe >= c->totalframes)
|
||||||
return -1;
|
return AVERROR_EOF;
|
||||||
|
|
||||||
size = st->index_entries[c->currentframe].size;
|
size = st->index_entries[c->currentframe].size;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user