[SCM] libav/experimental: Break compatibility only when first part of version number changes, in this specific case for ff_eval deprecation.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:51:07 UTC 2013


The following commit has been merged in the experimental branch:
commit 0ec6065a34b168ed87468d65babe6bccde333ecd
Author: Panagiotis Issaris <takis.issaris at uhasselt.be>
Date:   Wed Sep 27 20:08:36 2006 +0000

    Break compatibility only when first part of version number changes, in this
    specific case for ff_eval deprecation.
    
    Originally committed as revision 6358 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/eval.c b/libavcodec/eval.c
index 11ca2be..9414bc9 100644
--- a/libavcodec/eval.c
+++ b/libavcodec/eval.c
@@ -264,7 +264,7 @@ double ff_eval2(char *s, double *const_value, const char **const_name,
     return evalExpression(&p);
 }
 
-#if LIBAVCODEC_VERSION_INT < ((51<<16)+(17<<8)+0)
+#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
 attribute_deprecated double ff_eval(char *s, double *const_value, const char **const_name,
                double (**func1)(void *, double), const char **func1_name,
                double (**func2)(void *, double, double), char **func2_name,

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list