[Ffmpeg-devel] [PATCH] Costantize AVOption

Luca Barbato lu_zero
Sat Jan 20 12:10:12 CET 2007


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

Patch from flameeyes.

lu

-- 

Luca Barbato

Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 001_const_AVOption.patch
Type: text/x-patch
Size: 7253 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070120/5d5a0aa7/attachment.bin>



More information about the ffmpeg-devel mailing list