On 23-Jun-2015 8:41 PM, "Philip Langdale" <phil...@overt.org> wrote:
>
> On Tue, 23 Jun 2015 16:54:08 +0200
> wm4 <nfx...@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
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to