[FFmpeg-devel] [PATCH] avformat: export probe score

Nicolas George nicolas.george at normalesup.org
Wed Aug 28 02:09:13 CEST 2013


Le decadi 10 fructidor, an CCXXI, Paul B Mahol a écrit :
> cmdutils.c is not part of lib.

Applications that use the API can change a lot of fields that are supposed
to be read-only. lav* are not java libraries, where users are the enemy,
eager to produce bugs and abuse the API, and where every single field must
be protected from direct access by three layers of method calls.

If a field can be made read-only conveniently, then so be it. If it can not
be done conveniently, then "/* read-only */" is good enough.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130828/3f8ac9e8/attachment.asc>


More information about the ffmpeg-devel mailing list