diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-09-16 00:56:31 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-09-16 00:56:31 +0000 |
commit | 42831b46ef03f00b86bf13c509a5e9b01b3fe457 (patch) | |
tree | 8422dd6723687c21a5e334e5bf9228bca05443ee /libavformat/utils.c | |
parent | 8cd6b388f43396eb022aeb0e75752d956de5f81f (diff) | |
download | ffmpeg-42831b46ef03f00b86bf13c509a5e9b01b3fe457.tar.gz |
Also reset *_end in flush_packet_queue().
Originally committed as revision 19869 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 59fefd2913..0a88c80e5b 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -1112,6 +1112,8 @@ static void flush_packet_queue(AVFormatContext *s) 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; } |