On Sun, Dec 06, 2015 at 12:20:28PM +0100, Nicolas George wrote: [...] > > +static void free_func_wrap(void *arg, void *msg, int size) > > +{ > > + void (*free_func)(void *msg) = arg; > > Technically, this is not legal: void* is a data pointer, it could be smaller > than a function pointer (remember the "medium" memory model for 16-bits > code). I do not object much, but it is easy to fix: just pass &free_func as > argument, or even squarely mq itself. >
Changed locally to mq->free_func, thanks, will push soon [...] -- Clément B.
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel