diff options
author | Piotr Bandurski <ami_stuff@o2.pl> | 2012-11-21 10:21:54 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-11-21 10:21:54 +0000 |
commit | 25d8ebd422f3d6478a1add13792a9fdbb224bccc (patch) | |
tree | b31cab9a43ee26553acbac538b3150ff3dbdcbf6 /libavformat | |
parent | 9a0ecd507a94b974206bfc96c6784c6c21462116 (diff) | |
download | ffmpeg-25d8ebd422f3d6478a1add13792a9fdbb224bccc.tar.gz |
thp: signal EOF
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/thp.c | 2 |
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); |