Mercurial > libavformat.hg
comparison utils.c @ 5201:12bd8561aed1 libavformat
Fix indention after previous commit.
author | michael |
---|---|
date | Wed, 16 Sep 2009 01:17:39 +0000 |
parents | cd884511ec8b |
children | 62e44137dab5 |
comparison
equal
deleted
inserted
replaced
5200:cd884511ec8b | 5201:12bd8561aed1 |
---|---|
2656 this_pktl->pkt= *pkt; | 2656 this_pktl->pkt= *pkt; |
2657 pkt->destruct= NULL; // do not free original but only the copy | 2657 pkt->destruct= NULL; // do not free original but only the copy |
2658 av_dup_packet(&this_pktl->pkt); // duplicate the packet if it uses non-alloced memory | 2658 av_dup_packet(&this_pktl->pkt); // duplicate the packet if it uses non-alloced memory |
2659 | 2659 |
2660 if(!s->packet_buffer_end || compare(s, &s->packet_buffer_end->pkt, pkt)){ | 2660 if(!s->packet_buffer_end || compare(s, &s->packet_buffer_end->pkt, pkt)){ |
2661 next_point = &s->packet_buffer; | 2661 next_point = &s->packet_buffer; |
2662 while(*next_point){ | 2662 while(*next_point){ |
2663 if(compare(s, &(*next_point)->pkt, pkt)) | 2663 if(compare(s, &(*next_point)->pkt, pkt)) |
2664 break; | 2664 break; |
2665 next_point= &(*next_point)->next; | 2665 next_point= &(*next_point)->next; |
2666 } | 2666 } |
2667 }else{ | 2667 }else{ |
2668 next_point = &(s->packet_buffer_end->next); | 2668 next_point = &(s->packet_buffer_end->next); |
2669 assert(!*next_point); | 2669 assert(!*next_point); |
2670 } | 2670 } |
2671 this_pktl->next= *next_point; | 2671 this_pktl->next= *next_point; |