[FFmpeg-devel] [PATCH 2/2] movtextenc.c: Support for Bold, Italic and Underlined styles
Philip Langdale
philipl at overt.org
Tue Jun 23 17:10:51 CEST 2015
On Tue, 23 Jun 2015 16:54:08 +0200
wm4 <nfxjfg at googlemail.com> wrote:
> In my opinion these warnings should either be silenced, or an
> av_bprint function taking void* should be added and used. While the
> warning is indeed a false positive here, they can obscure interesting
> warnings.
A fair point.
Niklesh, why don't you use a #define to add the cast without cluttering
up the code too much.
Something like:
#define av_bprint_append_any(buf, data, size) \
av_bprint_append_data(buf, ((const char *)data), size)
--phil
More information about the ffmpeg-devel
mailing list