[FFmpeg-devel] [PATCH 2/2] movtextenc.c: Support for Bold, Italic and Underlined styles
niklesh.lalwani at iitb.ac.in
Tue Jun 23 21:55:53 CEST 2015
Compiles without any warnings. Tested too.
On Tue, Jun 23, 2015 at 9:42 PM, Niklesh Lalwani <niklesh.lalwani at iitb.ac.in
> 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)
> > --phil
> Sure. I'll try this.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9144 bytes
Desc: not available
More information about the ffmpeg-devel