1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02: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:
Michael Niedermayer 2012-01-06 17:34:22 +01:00 committed by Justin Ruggles
parent d8b33a9989
commit 4b4acc544f

View File

@ -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;