diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-01-06 17:34:22 +0100 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-01-07 09:59:15 -0500 |
commit | 4b4acc544f9b7b8bedaae4613913e140f4430aa8 (patch) | |
tree | 0b091bbdcd56231eb5dd9ac4c4dd9899aec43db9 /libavformat | |
parent | d8b33a99897f1faa8036fbdb6a6d48af9c10730f (diff) | |
download | ffmpeg-4b4acc544f9b7b8bedaae4613913e140f4430aa8.tar.gz |
tta: Fix returned error code at EOF
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Diffstat (limited to 'libavformat')
-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 f361ba5188..6bf097975a 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; |