[FFmpeg-devel] [PATCH 4/6] Rename ff_eval_free() to av_free_expr().

Michael Niedermayer michaelni
Sat Apr 10 23:13:04 CEST 2010


On Sat, Apr 10, 2010 at 01:50:31PM +0200, Stefano Sabatini wrote:
> ---
>  libavcodec/eval.c        |   18 +++++++++---------
>  libavcodec/eval.h        |    5 +++--
>  libavcodec/ratecontrol.c |    2 +-
>  3 files changed, 13 insertions(+), 12 deletions(-)
> 
> diff --git a/libavcodec/eval.c b/libavcodec/eval.c
> index ce1f69a..dad689b 100644
> --- a/libavcodec/eval.c
> +++ b/libavcodec/eval.c
> @@ -173,10 +173,10 @@ static double eval_expr(Parser * p, AVExpr * e) {
>  
>  static AVExpr * parse_expr(Parser *p);
>  
> -void ff_eval_free(AVExpr * e) {
> +void av_free_expr(AVExpr * e) {

renaming to av_ means making the function public, it makes no sense to make
just the deallocation function public

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- 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/20100410/a42a2547/attachment.pgp>



More information about the ffmpeg-devel mailing list