[FFmpeg-devel] [PATCH] Fix av_open_input_stream with uninitialized context pointer.

Michael Niedermayer michaelni at gmx.at
Wed Jul 6 02:11:16 CEST 2011

On Tue, Jul 05, 2011 at 11:27:55PM +0200, Reimar Döffinger wrote:
> On Tue, Jul 05, 2011 at 11:27:12PM +0200, Reimar Döffinger wrote:
> > Code would allocate a new context but forget to assign it
> > to the pointer actually passed to avformat_open_input,
> > potentially causing a crash.
> > Even if it was initialized it would cause a memleak.
> > This caused crashes with e.g. mpd, see also
> > http://bugs.gentoo.org/show_bug.cgi?id=373423
> And yes, it seems this needs to go into all branches.

should be ok

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Incandescent light bulbs waste a lot of energy as heat so the EU forbids them.
Their replacement, compact fluorescent lamps, much more expensive, dont fit in
many old lamps, flicker, contain toxic mercury, produce a fraction of the light
that is claimed and in a unnatural spectrum rendering colors different than
in natural light. Ah and we now need to turn the heaters up more in winter to
compensate the lower wasted heat. Who wins? Not the environment, thats for sure
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110706/a0379bab/attachment.asc>

More information about the ffmpeg-devel mailing list