[FFmpeg-devel] [PATCH] Clear freed pointer in ffplay.c.
Michael Niedermayer
michaelni
Wed Feb 24 12:46:30 CET 2010
On Wed, Feb 24, 2010 at 02:13:09AM -0300, Ramiro Polla wrote:
> $attached
> Crashes with double free on incoming/00004.m2ts after 'a' is pressed twice.
[...]
> Index: ffplay.c
> ===================================================================
> --- ffplay.c (revision 22013)
> +++ ffplay.c (working copy)
> @@ -1911,6 +1911,7 @@
> 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);
that hunk looks ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100224/26a337f4/attachment.pgp>
More information about the ffmpeg-devel
mailing list