[FFmpeg-devel] [PATCH] set AVContext correctly in mpc[78].c init, even on second call

Attila Kinali attila
Mon Nov 30 11:26:03 CET 2009

On Sun, 29 Nov 2009 14:29:12 +0200
Kostya <kostya.shishkov at gmail.com> wrote:

> On Sat, Nov 28, 2009 at 07:27:11PM +0100, Attila Kinali wrote:

> > Commit 20623 uncovered a bug in the init functions of mpc7 and mpc8.
> > If ->init() is called a second time in these codecs avctx.sample_fmt
> > and .channel_layout will not be set correctly.
> > The attached patch fixes it.
> > 
> Looks ok.


			Attila Kinali

The trouble with you, Shev, is you don't say anything until you've saved
up a whole truckload of damned heavy brick arguments and then you dump
them all out and never look at the bleeding body mangled beneath the heap
		-- Tirin, The Dispossessed, U. Le Guin

More information about the ffmpeg-devel mailing list