diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-14 00:38:23 +0100 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-12-19 12:22:14 -0500 |
commit | c9aa4cfdb12dd3cff1195cb20947b7d43897eed7 (patch) | |
tree | a97cd7cb325f35eea1ef351cedf6eeb0cecdc6cd | |
parent | 25c2d76b68641443e560451205044f95e548d988 (diff) | |
download | ffmpeg-c9aa4cfdb12dd3cff1195cb20947b7d43897eed7.tar.gz |
avplay: clear pkt_temp when pkt is freed.
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>
-rw-r--r-- | avplay.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |