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

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Mar 18 17:43:08 EET 2017


2017-03-17 2:32 GMT+01:00 Michael Niedermayer <michael at niedermayer.cc>:
> 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

Patch applied.

Thank you, Carl Eugen


More information about the ffmpeg-devel mailing list