diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2010-02-24 17:45:18 +0300 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2010-02-24 17:45:18 +0300 |
commit | bc77fce6ba17cb7c87f7c19751ba22ceba713aca (patch) | |
tree | c60b405e0c825c8c371423ac92ea1d437b79d025 /ffplay.c | |
parent | 90332debfe5f7fa7cf645f98fd300cff2f6bcbd5 (diff) |
Clear freed pointer in ffplay.c.
Fixes a crash when audio stream is cycled twice.
Originally committed as revision 22026 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1911,6 +1911,7 @@ static void stream_component_close(VideoState *is, int stream_index) packet_queue_end(&is->audioq); if (is->reformat_ctx) av_audio_convert_free(is->reformat_ctx); + is->reformat_ctx = NULL; break; case CODEC_TYPE_VIDEO: packet_queue_abort(&is->videoq); |