Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Bandurski <ami_stuff@o2.pl>2012-11-21 14:21:54 +0400
committerPaul B Mahol <onemda@gmail.com>2012-11-21 14:21:54 +0400
commit25d8ebd422f3d6478a1add13792a9fdbb224bccc (patch)
treeb31cab9a43ee26553acbac538b3150ff3dbdcbf6 /libavformat/thp.c
parent9a0ecd507a94b974206bfc96c6784c6c21462116 (diff)
thp: signal EOF
Diffstat (limited to 'libavformat/thp.c')
-rw-r--r--libavformat/thp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/thp.c b/libavformat/thp.c
index 0e96b53a4b..44634845fa 100644
--- a/libavformat/thp.c
+++ b/libavformat/thp.c
@@ -151,7 +151,7 @@ static int thp_read_packet(AVFormatContext *s,
if (thp->audiosize == 0) {
/* Terminate when last frame is reached. */
if (thp->frame >= thp->framecnt)
- return AVERROR(EIO);
+ return AVERROR_EOF;
avio_seek(pb, thp->next_frame, SEEK_SET);