summaryrefslogtreecommitdiff
path: root/libavutil/lls.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-28 21:31:26 +0100
committerDiego Biurrun <diego@biurrun.de>2013-03-01 01:44:35 +0100
commit4da950c0ae224b9b8ef952dadf614be2c050023e (patch)
treec50d700c298ecd54b8f7f971230092bf4d8b496d /libavutil/lls.h
parente8c52271c45ec27d783e74238dcfad0c2008731c (diff)
lls: #ifndef --> #if in FF_API_ version guard
Diffstat (limited to 'libavutil/lls.h')
-rw-r--r--libavutil/lls.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libavutil/lls.h b/libavutil/lls.h
index abaf4a7374..f493076446 100644
--- a/libavutil/lls.h
+++ b/libavutil/lls.h
@@ -23,6 +23,8 @@
#ifndef AVUTIL_LLS_H
#define AVUTIL_LLS_H
+#include "version.h"
+
#define MAX_VARS 32
//FIXME avoid direct access to LLSModel from outside
@@ -42,10 +44,11 @@ void avpriv_update_lls(LLSModel *m, double *param, double decay);
void avpriv_solve_lls(LLSModel *m, double threshold, unsigned short min_order);
double avpriv_evaluate_lls(LLSModel *m, double *param, int order);
-#ifndef FF_API_LLS_PRIVATE
+#if FF_API_LLS_PRIVATE
void av_init_lls(LLSModel *m, int indep_count);
void av_update_lls(LLSModel *m, double *param, double decay);
void av_solve_lls(LLSModel *m, double threshold, int min_order);
double av_evaluate_lls(LLSModel *m, double *param, int order);
-#endif
+#endif /* FF_API_LLS_PRIVATE */
+
#endif /* AVUTIL_LLS_H */