[FFmpeg-devel] [PATCH]lavc/avcodec: Constify AVBitStreamFilter* in AVBitStreamFilterContext struct.

Michael Niedermayer michael at niedermayer.cc
Fri Mar 17 03:32:22 EET 2017


On Thu, Mar 16, 2017 at 10:38:24PM +0100, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes one of two remaining warnings when compiling 
> bitstream_filter.c.
> 
> Please comment, Carl Eugen

>  avcodec.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> cf539519c5fa10e4af07d38e7a5d3ed10a3014a7  0001-lavc-avcodec-Constify-AVBitStreamFilter-in-AVBitStre.patch
> From 7fb60d42ee2137d1181ad0f6e214df87ed06400e Mon Sep 17 00:00:00 2001
> From: Carl Eugen Hoyos <cehoyos at ag.or.at>
> Date: Thu, 16 Mar 2017 22:31:44 +0100
> Subject: [PATCH] lavc/avcodec: Constify AVBitStreamFilter* in
>  AVBitStreamFilterContext struct.
> 
> Fixes a gcc warning:
> libavcodec/bitstream_filter.c:71:20: warning: assignment discards 'const' qualifier from pointer target type

LGTM

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- 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/20170317/dcc96afa/attachment.sig>


More information about the ffmpeg-devel mailing list