2008/7/10, Luca Abeni <[EMAIL PROTECTED]>:
>
> Hi Nicolas,
> Nicolas Krieger wrote:
> [...]
>
> > int err = av_open_input_file(&_formatContext, filename, NULL, 0,NULL);
> >   if(err!=0)
> >     {
> >      ERROR(.........);
> >       return;
> >     }
> >   err = av_find_stream_info(_formatContext);
> >
> >
> > There is no problem for opening the file, but
> > av_find_stream_info(_formatContext) returns a value different of zero.
>
>
> Just checking: what's the value of "err" here? Note that a value > 0
> does not indicate an error.


OK, as an "err" value different of zero was considered as an error (by the
personne who made the programm), I thought it was the right way.
So I made a correction (if(err<0)), and all is quite good. The err value is
20.

Thank you

Nicolas
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to