Commit 42831b46 authored by Michael Niedermayer's avatar Michael Niedermayer

Also reset *_end in flush_packet_queue().

Originally committed as revision 19869 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8cd6b388
...@@ -1112,6 +1112,8 @@ static void flush_packet_queue(AVFormatContext *s) ...@@ -1112,6 +1112,8 @@ static void flush_packet_queue(AVFormatContext *s)
av_free_packet(&pktl->pkt); av_free_packet(&pktl->pkt);
av_free(pktl); av_free(pktl);
} }
s->packet_buffer_end=
s->raw_packet_buffer_end= NULL;
s->raw_packet_buffer_remaining_size = RAW_PACKET_BUFFER_SIZE; s->raw_packet_buffer_remaining_size = RAW_PACKET_BUFFER_SIZE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment