diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-07-03 04:26:18 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-03 13:05:58 +0200 |
commit | 33f6ba9c4e7bc5b2f06972f7e38dd35b31756dc9 (patch) | |
tree | 74b488a502f65f19cf8a38be4f4c0b2c936a71c0 | |
parent | b52c26c66f65e0f9242e7effbf06ae2fd3e304f0 (diff) | |
download | ffmpeg-33f6ba9c4e7bc5b2f06972f7e38dd35b31756dc9.tar.gz |
avdevice/pulse_audio_dec: clear pa_simple pointer after deallocation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavdevice/pulse_audio_dec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/pulse_audio_dec.c b/libavdevice/pulse_audio_dec.c index ec94fe1b4a..414d73b5a7 100644 --- a/libavdevice/pulse_audio_dec.c +++ b/libavdevice/pulse_audio_dec.c @@ -144,6 +144,7 @@ static av_cold int pulse_close(AVFormatContext *s) { PulseData *pd = s->priv_data; pa_simple_free(pd->s); + pd->s = NULL; return 0; } |