[FFmpeg-soc] [soc]: r5088 - concat/libavformat/playlist.c

gkovacs subversion at mplayerhq.hu
Thu Aug 13 22:16:58 CEST 2009


Author: gkovacs
Date: Thu Aug 13 22:16:57 2009
New Revision: 5088

Log:
removed unused flush_packet_queue function from playlist.c

Modified:
   concat/libavformat/playlist.c

Modified: concat/libavformat/playlist.c
==============================================================================
--- concat/libavformat/playlist.c	Thu Aug 13 22:16:08 2009	(r5087)
+++ concat/libavformat/playlist.c	Thu Aug 13 22:16:57 2009	(r5088)
@@ -55,27 +55,6 @@ void ff_playlist_populate_context(Playli
     ctx->nb_streams_list[pe_curidx] = ctx->icl[pe_curidx]->nb_streams;
 }
 
-static void flush_packet_queue(AVFormatContext *s)
-{
-    AVPacketList *pktl;
-
-    for(;;) {
-        pktl = s->packet_buffer;
-        if (!pktl)
-            break;
-        s->packet_buffer = pktl->next;
-        av_free_packet(&pktl->pkt);
-        av_free(pktl);
-    }
-    while(s->raw_packet_buffer){
-        pktl = s->raw_packet_buffer;
-        s->raw_packet_buffer = pktl->next;
-        av_free_packet(&pktl->pkt);
-        av_free(pktl);
-    }
-    s->raw_packet_buffer_remaining_size = RAW_PACKET_BUFFER_SIZE;
-}
-
 void ff_playlist_set_streams(AVFormatContext *s)
 {
     int i;


More information about the FFmpeg-soc mailing list