[FFmpeg-devel] [PATCH] add const to sws_format_name prototype

Måns Rullgård mans
Thu Mar 6 11:22:24 CET 2008


Baptiste Coudurier wrote:
> Hi
>
> $subj
>
> Supress warnings:
>
> swscale.c: In function 'sws_format_name':
> swscale.c:283: warning: return discards qualifiers from pointer target type
> swscale.c:285: warning: return discards qualifiers from pointer target type
> [...]
>
> This change API I think, so I'd like approval first, should I increase
> micro version as well ?

Well, it changes the prototype of an API function, but the returned values
remain exactly the same.  There is thus no need to increase major or minor
version numbers.  The rules for the micro version are a bit fuzzy...

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list