Hi,
On Thu, Feb 25, 2010 at 10:10 AM, ecco33 <[email protected]> wrote:
> i am trying to separate streams in different programs but all the function
> refer to AVProgram as AVFormatContext->programs[i] whereas its definition is
> just AVProgram * programs
unsigned int nb_programs;
AVProgram **programs;
Doesn't look like that to me.
> i tried to change it to programs[20] but didn't
> work(reference to av_metadata_conv()error)
> please somebody tell me am i onto a lost cause
You can only access as many indexes as in nb_programs. Any others are
unallocated / uninitialized memory and will lead to the problem you're
seeing.
Ronald
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user