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

Timothy Gu timothygu99 at gmail.com
Thu Sep 17 01:28:19 CEST 2015


On Wed, Sep 16, 2015 at 3:50 PM, Ganesh Ajjanagadde
<gajjanagadde at gmail.com> wrote:
> lpd.buf is non-const and discards the const qualifier of zerobuffer.
> This fixes -Wdiscarded-qualifiers observed with GCC 5.2.
>
> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
> ---
>  libavformat/format.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Timothy


More information about the ffmpeg-devel mailing list