On Mon, Jun 8, 2009 at 8:19 PM, Diego Biurrun <[email protected]> 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
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc
>
--
Kevin DuBois
[email protected]
PGP fingerprint
80CF 7C1D 0A1C BE03 2203
95B6 1515 C3DC B6BE 7E88
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc