[FFmpeg-cvslog] tta: Fix returned error code at EOF
Michael Niedermayer
git at videolan.org
Sat Jan 7 00:19:52 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jan 6 17:34:22 2012 +0100| [877f6eb5fbe0ef71aa410a399713cae76f4e4eef] | committer: Michael Niedermayer
tta: Fix returned error code at EOF
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=877f6eb5fbe0ef71aa410a399713cae76f4e4eef
---
libavformat/tta.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/tta.c b/libavformat/tta.c
index 01cceeb..6e51356 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;
More information about the ffmpeg-cvslog
mailing list