Revision b381a823

View differences:

libavformat/rtmpproto.c
663 663
        RTMPPacket rpkt;
664 664
        if ((ret = ff_rtmp_packet_read(rt->stream, &rpkt,
665 665
                                       rt->chunk_size, rt->prev_pkt[0])) != 0) {
666
            if (ret > 0) {
666
            if (ret == 0) {
667 667
                return AVERROR(EAGAIN);
668 668
            } else {
669 669
                return AVERROR(EIO);

Also available in: Unified diff