[FFmpeg-devel] [PATCH 2/2] tta: Fix returned error code at EOF
Michael Niedermayer
michaelni at gmx.at
Fri Jan 6 17:35:07 CET 2012
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
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;
--
1.7.5.4
More information about the ffmpeg-devel
mailing list