summaryrefslogtreecommitdiff
path: root/libavformat/ast.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-18 02:26:03 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-23 11:30:57 +0100
commit697066af013d480c5f947f13926731a358e15fa2 (patch)
tree27d7b527ef037e465734d92dabd5330636cd92c9 /libavformat/ast.c
parenta442670a3262caf0d2fdc9ccd5697be11d2c2e46 (diff)
avformat/ast: Deduplicate codec tags lists
Also saves a relocation. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/ast.c')
-rw-r--r--libavformat/ast.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavformat/ast.c b/libavformat/ast.c
index 9de74aae69..856d36f08c 100644
--- a/libavformat/ast.c
+++ b/libavformat/ast.c
@@ -19,7 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "avformat.h"
+#include <stddef.h>
+#include "libavcodec/codec_id.h"
#include "internal.h"
const AVCodecTag ff_codec_ast_tags[] = {
@@ -27,3 +28,5 @@ const AVCodecTag ff_codec_ast_tags[] = {
{ AV_CODEC_ID_PCM_S16BE_PLANAR, 1 },
{ AV_CODEC_ID_NONE, 0 },
};
+
+const AVCodecTag *const ff_ast_codec_tags_list[] = { ff_codec_ast_tags, NULL };