[FFmpeg-devel] [PATCH 2/2] movtextenc.c: Support for Bold, Italic and Underlined styles

Niklesh Lalwani niklesh.lalwani at iitb.ac.in
Tue Jun 23 21:55:53 CEST 2015


Updated patch.
Compiles without any warnings. Tested too.

Thanks,
Niklesh

On Tue, Jun 23, 2015 at 9:42 PM, Niklesh Lalwani <niklesh.lalwani at iitb.ac.in
> wrote:

>
> 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.
>
> Thanks,
> Niklesh
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-movtextenc.c-Support-for-Bold-Italic-and-Underlined-.patch
Type: text/x-patch
Size: 9144 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150624/03cf5eb9/attachment.bin>


More information about the ffmpeg-devel mailing list