]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avlanguage.h
lavc: Enable a53cc by default for x264 and qsv_h264.
[ffmpeg] / libavformat / avlanguage.h
index 84bef58ab80d65524a427724a094d8fc11eed074..1d72dcb3cb6d8b46e36ab40581150a5679c58ac0 100644 (file)
@@ -21,6 +21,9 @@
 #ifndef AVFORMAT_AVLANGUAGE_H
 #define AVFORMAT_AVLANGUAGE_H
 
+#include "libavutil/attributes.h"
+#include "libavformat/version.h"
+
 /**
  * Known language codespaces
  */
@@ -34,6 +37,10 @@ enum AVLangCodespace {
  * Convert a language code to a target codespace. The source codespace is guessed.
  * @return NULL if the provided lang is null or invalid.
  */
+const char *ff_convert_lang_to(const char *lang, enum AVLangCodespace target_codespace);
+#if LIBAVFORMAT_VERSION_MAJOR < 58
+attribute_deprecated
 const char *av_convert_lang_to(const char *lang, enum AVLangCodespace target_codespace);
+#endif
 
 #endif /* AVFORMAT_AVLANGUAGE_H */