summaryrefslogtreecommitdiff
path: root/libavresample/version.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-11-29 20:58:05 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-12-16 19:26:17 -0500
commitf1c2915ce1ea36782e0aebd108cd48db53b03c8b (patch)
tree2f731aabde61773143ca83c12872b4b7482451af /libavresample/version.h
parentf322b2073581119de5da74f92a03309a36891cfa (diff)
lavr: remove automatic context close/open for resampling compensation
It adds unnecessary complication for insignificant usability improvement. The user really should know if they'll need resampling compensation before opening the context. Note that only the documentation has changed. The current functionality will still work until the next major bump.
Diffstat (limited to 'libavresample/version.h')
-rw-r--r--libavresample/version.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavresample/version.h b/libavresample/version.h
index 53ba802d85..834c942d93 100644
--- a/libavresample/version.h
+++ b/libavresample/version.h
@@ -39,4 +39,8 @@
* the public API and may change, break or disappear at any time.
*/
+#ifndef FF_API_RESAMPLE_CLOSE_OPEN
+#define FF_API_RESAMPLE_CLOSE_OPEN (LIBAVRESAMPLE_VERSION_MAJOR < 2)
+#endif
+
#endif /* AVRESAMPLE_VERSION_H */