Skip to content
Snippets Groups Projects
Commit 4b4acc54 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Justin Ruggles
Browse files

tta: Fix returned error code at EOF

parent d8b33a99
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment