Revision e07c92e4

View differences:

libavformat/rtmpproto.c
581 581
                    if (pkt_id == 4)
582 582
                        rt->state = STATE_CONNECTING;
583 583
                }
584
                if(rt->state != STATE_CONNECTING)
584
                if (rt->state != STATE_CONNECTING)
585 585
                    break;
586 586
            case STATE_CONNECTING:
587 587
                //extract a number from the result
......
642 642
    RTMPContext *rt = s->priv_data;
643 643
    int ret;
644 644

  
645
    for(;;) {
645
    for (;;) {
646 646
        RTMPPacket rpkt;
647 647
        if ((ret = ff_rtmp_packet_read(rt->stream, &rpkt,
648 648
                                       rt->chunk_size, rt->prev_pkt[0])) != 0) {
......
702 702
{
703 703
    RTMPContext *rt = h->priv_data;
704 704

  
705
    if(!rt->is_input) {
705
    if (!rt->is_input) {
706 706
        rt->flv_data = NULL;
707 707
        if (rt->out_pkt.data_size)
708 708
            ff_rtmp_packet_destroy(&rt->out_pkt);

Also available in: Unified diff