Revision a7a9dd0e

View differences:

libavformat/aiff.c
422 422
    AVStream *st = s->streams[0];
423 423
    int res;
424 424

  
425
    /* End of stream may be reached */
426
    if (url_feof(s->pb))
427
        return AVERROR(EIO);
428

  
429 425
    /* Now for that packet */
430 426
    res = av_get_packet(s->pb, pkt, (MAX_SIZE / st->codec->block_align) * st->codec->block_align);
431 427
    if (res < 0)
libavformat/au.c
164 164
{
165 165
    int ret;
166 166

  
167
    if (url_feof(s->pb))
168
        return AVERROR(EIO);
169 167
    ret= av_get_packet(s->pb, pkt, MAX_SIZE);
170 168
    if (ret < 0)
171 169
        return ret;

Also available in: Unified diff