On 14 March 2015 at 21:36, Anton Khirnov <[email protected]> wrote:

> Quoting Himangi Saraogi (2015-03-14 16:42:26)
> > ---
> > There is a third warning at 1220, not sure of a possible fix.
> >
> >  cmdutils.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/cmdutils.c b/cmdutils.c
> > index e01ad24..141b3d1 100644
> > --- a/cmdutils.c
> > +++ b/cmdutils.c
> > @@ -63,8 +63,8 @@ static const int this_year = 2015;
> >  void init_opts(void)
> >  {
> >  #if CONFIG_SWSCALE
> > -    sws_opts = sws_getContext(16, 16, 0, 16, 16, 0, SWS_BICUBIC,
> > -                              NULL, NULL, NULL);
> > +    sws_opts = sws_getContext(16, 16, AV_PIX_FMT_NONE, 16, 16,
> AV_PIX_FMT_NONE,
> > +                              SWS_BICUBIC, NULL, NULL, NULL);
> >  #endif
> >  }
> >
> > --
> > 1.9.1
>
> The value of AV_PIX_FMT_NONE is not 0.
>
>
What is the value?


> Are you absolutely sure the code still does what it's supposed to?
>
> --
> Anton Khirnov
> _______________________________________________
> libav-devel mailing list
> [email protected]
> https://lists.libav.org/mailman/listinfo/libav-devel
>
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to