[FFmpeg-cvslog] r22026 - trunk/ffplay.c
ramiro
subversion
Wed Feb 24 15:45:18 CET 2010
Author: ramiro
Date: Wed Feb 24 15:45:18 2010
New Revision: 22026
Log:
Clear freed pointer in ffplay.c.
Fixes a crash when audio stream is cycled twice.
Modified:
trunk/ffplay.c
Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c Wed Feb 24 14:12:09 2010 (r22025)
+++ trunk/ffplay.c Wed Feb 24 15:45:18 2010 (r22026)
@@ -1911,6 +1911,7 @@ static void stream_component_close(Video
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);
More information about the ffmpeg-cvslog
mailing list