[FFmpeg-soc] [soc]: r4390 - in afilters: Makefile.dummy af_null.c avfilter.c avfilter.h dummy.c

Kevin DuBois kdub432 at gmail.com
Tue Jun 9 00:15:08 CEST 2009


On Mon, Jun 8, 2009 at 8:19 PM, Diego Biurrun <diego at biurrun.de> wrote:

> On Mon, Jun 08, 2009 at 10:17:51PM +0200, Vitor Sessak wrote:
> > kdub wrote:
> > >
> > >--- afilters/avfilter.c      Sun Jun  7 20:19:38 2009        (r4389)
> > >+++ afilters/avfilter.c      Mon Jun  8 06:02:12 2009        (r4390)
> > >@@ -318,9 +321,12 @@ void avfilter_uninit(void)
> > >
> > > static int pad_count(const AVFilterPad *pads)
> > > {
> > >-    int count;
> > >+    if (!pads)
> > >+        return 0;
> > >
> > >+    int count;
> > >     for(count = 0; pads->name; count ++) pads ++;
> >
> > I think you cannot declare a var after an if() without at least GCC 2.95
> > complaining.
>
> It means he ignored a warning, which he should not do :)
>

Yes, sorry. Just prototyping a bit.


>
> Diego
> _______________________________________________
> FFmpeg-soc mailing list
> FFmpeg-soc at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc
>



-- 
Kevin DuBois
kdub432 at gmail.com
PGP fingerprint
80CF 7C1D 0A1C BE03 2203
95B6 1515 C3DC B6BE 7E88


More information about the FFmpeg-soc mailing list