/*
- * AVOptions
- * copyright (c) 2005 Michael Niedermayer <michaelni@gmx.at>
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_OPT_H
-#define AVCODEC_OPT_H
-
/**
* @file
- * AVOptions
+ * This header is provided for compatibility only and will be removed
+ * on next major bump
*/
-#include "libavutil/rational.h"
-#include "avcodec.h"
-#include "libavutil/opt.h"
+#ifndef AVCODEC_OPT_H
+#define AVCODEC_OPT_H
-#if FF_API_SET_STRING_OLD
-/**
- * @see av_set_string2()
- */
-attribute_deprecated const AVOption *av_set_string(void *obj, const char *name, const char *val);
+#include "libavcodec/version.h"
-/**
- * @return a pointer to the AVOption corresponding to the field set or
- * NULL if no matching AVOption exists, or if the value val is not
- * valid
- * @see av_set_string3()
- */
-attribute_deprecated const AVOption *av_set_string2(void *obj, const char *name, const char *val, int alloc);
+#if FF_API_OPT_H
+#include "libavutil/opt.h"
#endif
#endif /* AVCODEC_OPT_H */