[libav-devel] [PATCH 5/5] avcodec: Drop a spurious const from avframe_fill_audio_frame

Luca Barbato lu_zero at gentoo.org
Thu Aug 13 11:37:45 CEST 2015


On 13/08/15 07:48, Anton Khirnov wrote:
> Quoting Luca Barbato (2015-08-11 12:03:08)
>> On 11/08/15 10:15, Anton Khirnov wrote:
>>> Quoting Luca Barbato (2015-08-03 22:51:52)
>>>> The resulting mapped array is used as non-const.
>>>
>>> Again, no -- the function does not modify buf.
>>>
>>
>> Shall we drop that warning for those specific functions then? The
>> compiler triggers quite often and it is just annoying.
> 
> If it's possible to do sanely, sure.
> 

the same pragma push dance we do for the deprecations.

lu


More information about the libav-devel mailing list