aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/aiff.c4
-rw-r--r--libavformat/au.c2
2 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/aiff.c b/libavformat/aiff.c
index 41721e2fa2..570e05d4e3 100644
--- a/libavformat/aiff.c
+++ b/libavformat/aiff.c
@@ -422,10 +422,6 @@ static int aiff_read_packet(AVFormatContext *s,
AVStream *st = s->streams[0];
int res;
- /* End of stream may be reached */
- if (url_feof(s->pb))
- return AVERROR(EIO);
-
/* Now for that packet */
res = av_get_packet(s->pb, pkt, (MAX_SIZE / st->codec->block_align) * st->codec->block_align);
if (res < 0)
diff --git a/libavformat/au.c b/libavformat/au.c
index 3b8faae272..24bdb62c7c 100644
--- a/libavformat/au.c
+++ b/libavformat/au.c
@@ -164,8 +164,6 @@ static int au_read_packet(AVFormatContext *s,
{
int ret;
- if (url_feof(s->pb))
- return AVERROR(EIO);
ret= av_get_packet(s->pb, pkt, MAX_SIZE);
if (ret < 0)
return ret;