[FFmpeg-devel] [PATCH] remove useless mm.c close function

Reimar Döffinger Reimar.Doeffinger
Sun Aug 24 16:01:29 CEST 2008

On Sun, Aug 24, 2008 at 03:33:36PM +0200, Aurelien Jacobs wrote:
> > Unrelated, but wasn't there a macro to do the standard
> > sizeof(arr)/sizeof(*arr) to get the number of array
> > elements? I've seen quite a few code places that could
> > use it - either to de-hardcode assumptions or to de-uglify..
> I proposed a patch a patch adding such a macro some times
> ago [1]. But Michael was not fond of it.

Well, I am not exactly fond of that kind of thing, but seeing
how the code currently looks in some places I think it would
make things more consistent and at least not any worse...

More information about the ffmpeg-devel mailing list