[FFmpeg-devel] [PATCH]lavu/threadmessage: Properly declare a function pointer
Carl Eugen Hoyos
ceffmpeg at gmail.com
Sat May 2 00:45:48 EEST 2020
Hi!
Attached patch, inspired by a patch by Andreas, fixes the following
warning when -Wpedantic is used:
CC libavutil/threadmessage.o
libavutil/threadmessage.c: In function ‘av_thread_message_flush’:
libavutil/threadmessage.c:222:23: warning: ISO C forbids
initialization between function pointer and ‘void *’ [-Wpedantic]
222 | void *free_func = mq->free_func;
| ^~
Please comment, Carl Eugen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavu-threadmessage-Properly-declare-a-function-point.patch
Type: text/x-patch
Size: 997 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200501/b3e23433/attachment.bin>
More information about the ffmpeg-devel
mailing list