Revision 8a6c7a52

View differences:

libavformat/utils.c
2665 2665
    if(*next_point){
2666 2666
        if(compare(s, &s->packet_buffer_end->pkt, pkt)){
2667 2667
            while(!compare(s, &(*next_point)->pkt, pkt)){
2668
            next_point= &(*next_point)->next;
2669
        }
2668
                next_point= &(*next_point)->next;
2669
            }
2670 2670
            goto next_non_null;
2671
    }else{
2672
        next_point = &(s->packet_buffer_end->next);
2671
        }else{
2672
            next_point = &(s->packet_buffer_end->next);
2673 2673
        }
2674 2674
    }
2675
        assert(!*next_point);
2675
    assert(!*next_point);
2676 2676

  
2677
        s->packet_buffer_end= this_pktl;
2677
    s->packet_buffer_end= this_pktl;
2678 2678
next_non_null:
2679 2679

  
2680 2680
    this_pktl->next= *next_point;

Also available in: Unified diff