OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8b33a9
)
tta: Fix returned error code at EOF
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 6 Jan 2012 16:34:22 +0000
(17:34 +0100)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Sat, 7 Jan 2012 14:59:15 +0000
(09:59 -0500)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
libavformat/tta.c
patch
|
blob
|
history
diff --git
a/libavformat/tta.c
b/libavformat/tta.c
index
f361ba5
..
6bf0979
100644
(file)
--- 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;