On Sat, 19 Mar 2016, Anton Khirnov wrote:

Quoting Martin Storsjö (2016-03-18 13:01:38)
From: Lukasz Marek <[email protected]>

Also add const to pointers in static functions within opt.c where
possible.
---
Or can we freely add const here without waiting for a major bump?
I don't see any case where adding const actually would break third
party code.

Maybe some c++ wrappers would complain about this?

I don't think so; C++ mainly dislikes implicit casts from void* to foo* (which is explicitly ok within C), but the const correctness is pretty similar in C++ and modern C.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to