[FFmpeg-cvslog] r19869 - trunk/libavformat/utils.c

michael subversion
Wed Sep 16 02:56:31 CEST 2009


Author: michael
Date: Wed Sep 16 02:56:31 2009
New Revision: 19869

Log:
Also reset *_end in flush_packet_queue().

Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	Wed Sep 16 01:54:31 2009	(r19868)
+++ trunk/libavformat/utils.c	Wed Sep 16 02:56:31 2009	(r19869)
@@ -1112,6 +1112,8 @@ static void flush_packet_queue(AVFormatC
         av_free_packet(&pktl->pkt);
         av_free(pktl);
     }
+    s->packet_buffer_end=
+    s->raw_packet_buffer_end= NULL;
     s->raw_packet_buffer_remaining_size = RAW_PACKET_BUFFER_SIZE;
 }
 



More information about the ffmpeg-cvslog mailing list