[FFmpeg-devel] [PATCH 2/2] movtextenc.c: Support for Bold, Italic and Underlined styles
niklesh.lalwani at iitb.ac.in
Tue Jun 23 18:12:08 CEST 2015
On 23-Jun-2015 8:41 PM, "Philip Langdale" <philipl at overt.org> wrote:
> 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)
Sure. I'll try this.
More information about the ffmpeg-devel