[FFmpeg-devel] [PATCH 3/5] all: use function pointer instead of void * data pointer

wm4 nfxjfg at googlemail.com
Sat Oct 24 17:01:16 CEST 2015


On Sat, 24 Oct 2015 09:28:52 -0400
Ganesh Ajjanagadde <gajjanagadde at gmail.com> wrote:

> ISO C does not guarantee that functions and data live in the same
> address space. It is thus (strictly speaking) illegal to assign to a

POSIX does.

> void * (which is a data pointer) from a function pointer.
> 
> Found by enabling -Wpedantic on clang 3.7.
> 
> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>



More information about the ffmpeg-devel mailing list