#include "internal.h"
#include "ast.h"
-static int ast_probe(AVProbeData *p)
+static int ast_probe(const AVProbeData *p)
{
if (AV_RL32(p->buf) != MKTAG('S','T','R','M'))
return 0;
return ret;
}
-AVInputFormat ff_ast_demuxer = {
+const AVInputFormat ff_ast_demuxer = {
.name = "ast",
.long_name = NULL_IF_CONFIG_SMALL("AST (Audio Stream)"),
.read_probe = ast_probe,
.read_packet = ast_read_packet,
.extensions = "ast",
.flags = AVFMT_GENERIC_INDEX,
- .codec_tag = (const AVCodecTag* const []){ff_codec_ast_tags, 0},
+ .codec_tag = ff_ast_codec_tags_list,
};