Commit 4b4acc54 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Justin Ruggles

tta: Fix returned error code at EOF

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
Signed-off-by: 's avatarJustin Ruggles <justin.ruggles@gmail.com>
parent d8b33a99
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment