[Ffmpeg-devel] [PATCH] Costantize AVOption

Diego Biurrun diego
Sun Jan 21 10:23:42 CET 2007


On Sat, Jan 20, 2007 at 12:10:12PM +0100, Luca Barbato wrote:
> Rationale :
> - solves few warnings
> 
> opt.c: In function 'find_opt':
> opt.c:36: warning: initialization discards qualifiers from pointer 
> target type
> opt.c: In function 'av_next_option':
> opt.c:48: warning: return discards qualifiers from pointer target type
> opt.c: In function 'set_all_opt':
> opt.c:81: warning: initialization discards qualifiers from pointer 
> target type
> opt.c: In function 'opt_list':
> opt.c:324: warning: passing argument 3 of 'opt_list' discards qualifiers 
> from pointer target type

Looks correct, regression tests pass ...

Diego




More information about the ffmpeg-devel mailing list