Revision 634b927f

View differences:

libavformat/flvdec.c
444 444
        return AVERROR(EAGAIN);
445 445

  
446 446
    ret= av_get_packet(s->pb, pkt, size);
447
    if (ret <= 0) {
447
    if (ret < 0) {
448 448
        return AVERROR(EIO);
449 449
    }
450 450
    /* note: we need to modify the packet size here to handle the last

Also available in: Unified diff