[FFmpeg-devel] [PATCH] Stricter const prototypes for sws_scale_*
Tue Jan 19 17:30:36 CET 2010
On Tue, 19 Jan 2010 16:55:43 +0100 Michael Niedermayer wrote:
> On Tue, Jan 19, 2010 at 02:17:55PM +0100, Alexis Ballier wrote:
> > Since src[x] isn't modified either, this doesn't harm and it is imho
> > cleaner to declare the functions with the strictest prototype
> > possible.
> > As a side effect (that you probably couldn't care less), this fixes
> > backward compatibilty for calling sws_scale from c++ as it doesn't
> > allow converting ** to const ** but wants const* const*
> > Alexis.
> > swscale.c | 4 ++--
> > swscale.h | 4 ++--
> > 2 files changed, 4 insertions(+), 4 deletions(-)
> > 55d525ae31b67b0fff37979922a0807720d92331 sws_const_stricter.patch
More information about the ffmpeg-devel