[FFmpeg-devel] [PATCHv2] avformat/format: silence -Wdiscarded-qualifiers

Michael Niedermayer michaelni at gmx.at
Sun Sep 20 03:15:46 CEST 2015


On Sat, Sep 19, 2015 at 05:37:14PM -0400, Ganesh Ajjanagadde wrote:
> lpd.buf is non-const and discards the const qualifier of zerobuffer.
> This fixes -Wdiscarded-qualifiers observed with a variety of compilers, including GCC 5.2.
> Note that this does not change the type of zerobuffer, and merely makes the intent explicit.
> 
> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
> ---
>  libavformat/format.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150920/f0db3ed9/attachment.sig>


More information about the ffmpeg-devel mailing list