diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-14 00:38:23 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2011-12-14 21:22:29 +0100 |
commit | efe8a1ba08dd868e5a96f5759258b0733bb2004c (patch) | |
tree | 8d4f18ea5625d74fa1fe5048671d0744edcafdbe /ffplay.c | |
parent | a5a1e3cb8a5f554818c2e491ab4d2cad833a4556 (diff) | |
download | ffmpeg-efe8a1ba08dd868e5a96f5759258b0733bb2004c.tar.gz |
ffplay: clear pkt_temp when pkt is freed.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2145,6 +2145,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; |