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

Stefano Sabatini stefano.sabatini-lala
Thu Aug 9 16:40:17 CEST 2007


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).

Cheers.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prefix_ffmpeg_option_shower_functions-00.patch
Type: text/x-diff
Size: 1729 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070809/e3097c9a/attachment.patch>



More information about the ffmpeg-devel mailing list