[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec mem.c,1.17,1.18

Måns Rullgård mru
Tue Jan 31 00:11:57 CET 2006


Mike Melanson <mike at multimedia.cx> writes:

> M?ns Rullg?rd CVS wrote:
>> Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
>> In directory mail:/var2/tmp/cvs-serv30838/libavcodec
>> Modified Files:
>> 	mem.c Log Message:
>> long is better than int for pointer differences
>
> 	I may have missed some discussion on this but isn't ptrdiff_t
> 	even better than long for the same purpose?

Theoretically yes.  Problem is not all systems have ptrdiff_t, and
long works on all systems that have a chance of compiling ffmpeg
anyway.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-cvslog mailing list