[FFmpeg-devel] [PATCH] Prefix with opt_ the functions ffmpeg.c:show_{version, license, formats}

Michael Niedermayer michaelni
Fri Aug 10 01:54:03 CEST 2007


On Thu, Aug 09, 2007 at 04:40:17PM +0200, Stefano Sabatini wrote:
> Hi all.
> 
> This patch prefixes with opt_ the functions
> ffmpeg.c:show_{version,license,formats}. 
> 
> Log message suggested: 
> Prefix with "opt_" the functions ffmpeg.c:show_{version,license,formats}.
> 
> "opt_" prefixing seems to me a good idea for the following reasons:
> 
> * such prefixing is used for all the remaining option handler
>   functions in ffplay.c and ffmpeg.c.
> 
> * it avoids conflicts between generic function names and option handler
>   function names (e.g. show_help and opt_show_help).

ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070810/3aefb61c/attachment.pgp>



More information about the ffmpeg-devel mailing list