[FFmpeg-devel] Google Summer of Code participation
Wed Apr 8 22:15:39 CEST 2009
On Wed, Apr 08, 2009 at 07:39:41PM +0200, Thilo Borgmann wrote:
> Michael Niedermayer schrieb:
>> as ive already said this does not work
>> the variables in the context can have a value differnet from 0
>> you cant just use a local variable in the function that is set to 0
>> to replace the context variables
> Ok. I see two possibilities in that case.
> First, assure that the context variables are assigned the value before
> leaving the function or
> second, to use a local AVPacket just before the call to
> avcodec_decode_audio3() and let the context variables be used for iterating
> through the buffer.
> Which one do you like more or another possibility?
Put a AVPacket in the context and use that
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel