changeset 5199:fc6e05b7709d libavformat

Also reset *_end in flush_packet_queue().
author michael
date Wed, 16 Sep 2009 00:56:31 +0000
parents 7838e959a646
children cd884511ec8b
files utils.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Tue Sep 15 23:40:10 2009 +0000
+++ b/utils.c	Wed Sep 16 00:56:31 2009 +0000
@@ -1112,6 +1112,8 @@
         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;
 }