projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cd6b38
)
Also reset *_end in flush_packet_queue().
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 16 Sep 2009 00:56:31 +0000
(
00:56
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 16 Sep 2009 00:56:31 +0000
(
00:56
+0000)
Originally committed as revision 19869 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
59fefd2
..
0a88c80
100644
(file)
--- 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;
}