[FFmpeg-devel] Google Summer of Code participation

Thilo Borgmann thilo.borgmann
Wed Apr 8 19:39:41 CEST 2009



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?

TB



More information about the ffmpeg-devel mailing list