diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-01-06 17:34:22 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-07 00:08:36 +0100 |
commit | 877f6eb5fbe0ef71aa410a399713cae76f4e4eef (patch) | |
tree | 707280e201d5c2c77fb14a5bb26f2b684ff5b6e5 | |
parent | 4925b6e784cad1b00561f786b92a8d5eb6c28666 (diff) | |
download | ffmpeg-877f6eb5fbe0ef71aa410a399713cae76f4e4eef.tar.gz |
tta: Fix returned error code at EOF
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/tta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tta.c b/libavformat/tta.c index 01cceeb86f..6e513563be 100644 --- a/libavformat/tta.c +++ b/libavformat/tta.c @@ -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; |