[libav-devel] [PATCH 4/8] opt: Add const to av_opt_next

2016-03-19 Thread Martin Storsjö
From: Lukasz Marek Also add const to pointers in static functions within opt.c where possible/necessary. --- Now adding it immediately instead of after the next bump, added a micro bump. --- libavutil/opt.c | 4 ++-- libavutil/opt.h | 2 +- libavutil/version.h

Re: [libav-devel] [PATCH 4/8] opt: Add const to av_opt_next in the next major bump

2016-03-19 Thread Martin Storsjö
On Sat, 19 Mar 2016, Anton Khirnov wrote: Quoting Martin Storsjö (2016-03-18 13:01:38) From: Lukasz Marek 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

Re: [libav-devel] [PATCH 4/8] opt: Add const to av_opt_next in the next major bump

2016-03-19 Thread Vittorio Giovara
On Sat, Mar 19, 2016 at 11:14 AM, Anton Khirnov wrote: > Quoting Martin Storsjö (2016-03-18 13:01:38) >> From: Lukasz Marek >> >> Also add const to pointers in static functions within opt.c where >> possible. >> --- >> Or can we freely add const here

Re: [libav-devel] [PATCH 4/8] opt: Add const to av_opt_next in the next major bump

2016-03-19 Thread Luca Barbato
On 18/03/16 13:01, Martin Storsjö wrote: > From: Lukasz Marek > > 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

Re: [libav-devel] [PATCH 4/8] opt: Add const to av_opt_next in the next major bump

2016-03-19 Thread Anton Khirnov
Quoting Martin Storsjö (2016-03-18 13:01:38) > From: Lukasz Marek > > 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

[libav-devel] [PATCH 4/8] opt: Add const to av_opt_next in the next major bump

2016-03-18 Thread Martin Storsjö
From: Lukasz Marek 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. --- libavutil/opt.c |