[FFmpeg-devel] [PATCH] remove useless mm.c close function
Sun Aug 24 18:13:54 CEST 2008
On Sun, Aug 24, 2008 at 04:50:01PM +0200, Michael Niedermayer wrote:
> Its not really specific to macros ...
> And i do not know if this specific case is good or bad ...
> I simply do not find
> sizeof(array) / sizeof(array)
> particularely ugly ...
The reason I am suggesting it is because it is not used consistently.
Sometimes it is "sizeof(array) / sizeof(array)", sometimes
"sizeof(array) / sizeof(*array)", sometimes "sizeof(array) /
sizeof(char *)" and sometimes just "5".
More information about the ffmpeg-devel