[Ffmpeg-cvslog] r8608 - in trunk: Changelog doc/ffmpeg-doc.texi libavcodec/Makefile libavcodec/allcodecs.c libavcodec/avcodec.h libavcodec/tiff.c libavcodec/tiff.h libavcodec/tiffenc.c

Uoti Urpala uoti.urpala
Wed Apr 4 17:05:52 CEST 2007


On Wed, 2007-04-04 at 16:51 +0200, Michel Bardiaux wrote:
> Uoti Urpala wrote:
> > &s->width would be a pointer to int, which is wrong as a pointer to
> > uint32_t is needed.
> 
> add_entry just needs void*.

No it needs a pointer to a 4 byte int. The parameter type of the
function is void *, but there are semantic requirements beyond that.
void * doesn't mean you could pass it any random pointer whatsoever and
expect it to do something sensible.





More information about the ffmpeg-cvslog mailing list