summaryrefslogtreecommitdiff
path: root/libavcodec/opt.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-20 17:09:45 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-21 07:14:51 +0200
commit095290f9a4230698f64c56b5ee9d89c046f6dd5b (patch)
tree258fbbb0bf1629ecb22795b3573ff6488ab2a146 /libavcodec/opt.h
parenta975dbc86b97a421e51ac7075b8df869915745a2 (diff)
downloadffmpeg-095290f9a4230698f64c56b5ee9d89c046f6dd5b.tar.gz
lavc: provide the opt.h header until the next bump
AVOptions were moved to libavutil only recently.
Diffstat (limited to 'libavcodec/opt.h')
-rw-r--r--libavcodec/opt.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libavcodec/opt.h b/libavcodec/opt.h
new file mode 100644
index 0000000000..e754bb93d8
--- /dev/null
+++ b/libavcodec/opt.h
@@ -0,0 +1,16 @@
+/**
+ * @file
+ * This header is provided for compatibility only and will be removed
+ * on next major bump
+ */
+
+#ifndef AVCODEC_OPT_H
+#define AVCODEC_OPT_H
+
+#include "libavcodec/version.h"
+
+#if FF_API_OPT_H
+#include "libavutil/opt.h"
+#endif
+
+#endif