Revision a7a9dd0e libavformat/aiff.c

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)

Also available in: Unified diff