aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/audio_fifo.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-25 23:19:42 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-28 23:37:12 +0200
commit4393331250d1f61be0d159de2a7976087a118c25 (patch)
tree241e43832c39d39227c533e3a41fc790fb5027c2 /libavutil/audio_fifo.h
parenta91ddce6894af70ed7389eaf2a84f844e9f7b7e9 (diff)
downloadffmpeg-4393331250d1f61be0d159de2a7976087a118c25.tar.gz
avcodec/dirac_dwt: Avoid conversions between function pointers and void*
Pointers to void can be converted to any pointer to incomplete or object type and back; but they are nevertheless not completely generic pointers: There is no provision in the C standard that guarantees their convertibility with function pointers. C90 lacks a generic function pointer, C99 made every function pointer a generic function pointer and still disallows the convertibility with void *. Both GCC as well as Clang warn about this when using -pedantic. Therefore use unions to avoid these conversions. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/audio_fifo.h')
0 files changed, 0 insertions, 0 deletions