OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25c2d76
)
avplay: clear pkt_temp when pkt is freed.
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 13 Dec 2011 23:38:23 +0000
(
00:38
+0100)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Mon, 19 Dec 2011 17:22:14 +0000
(12:22 -0500)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
avplay.c
patch
|
blob
|
history
diff --git
a/avplay.c
b/avplay.c
index
5fcfaa6
..
bf1ac1b
100644
(file)
--- a/
avplay.c
+++ b/
avplay.c
@@
-2102,6
+2102,7
@@
static int audio_decode_frame(VideoState *is, double *pts_ptr)
/* free the current packet */
if (pkt->data)
av_free_packet(pkt);
+ memset(pkt_temp, 0, sizeof(*pkt_temp));
if (is->paused || is->audioq.abort_request) {
return -1;