static int mov_write_ilst_tag(AVIOContext *pb, MOVMuxContext *mov,

                              AVFormatContext *s)

{

    int64_t pos = avio_tell(pb);

    avio_wb32(pb, 0); /* size */

    ffio_wfourcc(pb, "ilst");

    mov_write_string_metadata(s, pb, "\251nam", "title"    , 1);

    mov_write_string_metadata(s, pb, "\251ART", "artist"   , 1);

    mov_write_string_metadata(s, pb, "aART", "album_artist", 1);

    mov_write_string_metadata(s, pb, "\251wrt", "composer" , 1);

    mov_write_string_metadata(s, pb, "\251alb", "album"    , 1);

    mov_write_string_metadata(s, pb, "\251day", "date"     , 1);

    mov_write_string_tag(pb, "\251too", LIBAVFORMAT_IDENT, 0, 1);

    mov_write_string_metadata(s, pb, "\251cmt", "comment"  , 1);

    mov_write_string_metadata(s, pb, "\251gen", "genre"    , 1);

    mov_write_string_metadata(s, pb, "\251cpy", "copyright", 1);

    mov_write_string_metadata(s, pb, "\251grp", "grouping" , 1);

    mov_write_string_metadata(s, pb, "\251lyr", "lyrics"   , 1);

    mov_write_string_metadata(s, pb, "desc",    "description",1);

    mov_write_string_metadata(s, pb, "ldes",    "synopsis" , 1);

    mov_write_string_metadata(s, pb, "tvsh",    "show"     , 1);

    mov_write_string_metadata(s, pb, "tven",    "episode_id",1);

    mov_write_string_metadata(s, pb, "tvnn",    "network"  , 1);

    mov_write_trkn_tag(pb, mov, s);

    return update_size(pb, pos);

}

static int mov_write_ilst_tag(AVIOContext *pb, MOVMuxContext *mov,

                              AVFormatContext *s)

{

    int64_t pos = avio_tell(pb);

    avio_wb32(pb, 0); 

    ffio_wfourcc(pb, "ilst");

    mov_write_string_metadata(s, pb, "\251nam", "title"    , 1);

    mov_write_string_metadata(s, pb, "\251ART", "artist"   , 1);

    mov_write_string_metadata(s, pb, "aART", "album_artist", 1);

    mov_write_string_metadata(s, pb, "\251wrt", "composer" , 1);

    mov_write_string_metadata(s, pb, "\251alb", "album"    , 1);

    mov_write_string_metadata(s, pb, "\251day", "date"     , 1);

    mov_write_string_tag(pb, "\251too", LIBAVFORMAT_IDENT, 0, 1);

    mov_write_string_metadata(s, pb, "\251cmt", "comment"  , 1);

    mov_write_string_metadata(s, pb, "\251gen", "genre"    , 1);

    mov_write_string_metadata(s, pb, "\251cpy", "copyright", 1);

    mov_write_string_metadata(s, pb, "\251grp", "grouping" , 1);

    mov_write_string_metadata(s, pb, "\251lyr", "lyrics"   , 1);

    mov_write_string_metadata(s, pb, "desc",    "description",1);

    mov_write_string_metadata(s, pb, "ldes",    "synopsis" , 1);

    mov_write_string_metadata(s, pb, "tvsh",    "show"     , 1);

    mov_write_string_metadata(s, pb, "tven",    "episode_id",1);

    mov_write_string_metadata(s, pb, "tvnn",    "network"  , 1);

    mov_write_trkn_tag(pb, mov, s);

    return update_size(pb, pos);

}

static int FUNC_0(AVIOContext *VAR_0, MOVMuxContext *VAR_1,

                              AVFormatContext *VAR_2)

{

    int64_t pos = avio_tell(VAR_0);

    avio_wb32(VAR_0, 0); 

    ffio_wfourcc(VAR_0, "ilst");

    mov_write_string_metadata(VAR_2, VAR_0, "\251nam", "title"    , 1);

    mov_write_string_metadata(VAR_2, VAR_0, "\251ART", "artist"   , 1);

    mov_write_string_metadata(VAR_2, VAR_0, "aART", "album_artist", 1);

    mov_write_string_metadata(VAR_2, VAR_0, "\251wrt", "composer" , 1);

    mov_write_string_metadata(VAR_2, VAR_0, "\251alb", "album"    , 1);

    mov_write_string_metadata(VAR_2, VAR_0, "\251day", "date"     , 1);

    mov_write_string_tag(VAR_0, "\251too", LIBAVFORMAT_IDENT, 0, 1);

    mov_write_string_metadata(VAR_2, VAR_0, "\251cmt", "comment"  , 1);

    mov_write_string_metadata(VAR_2, VAR_0, "\251gen", "genre"    , 1);

    mov_write_string_metadata(VAR_2, VAR_0, "\251cpy", "copyright", 1);

    mov_write_string_metadata(VAR_2, VAR_0, "\251grp", "grouping" , 1);

    mov_write_string_metadata(VAR_2, VAR_0, "\251lyr", "lyrics"   , 1);

    mov_write_string_metadata(VAR_2, VAR_0, "desc",    "description",1);

    mov_write_string_metadata(VAR_2, VAR_0, "ldes",    "synopsis" , 1);

    mov_write_string_metadata(VAR_2, VAR_0, "tvsh",    "show"     , 1);

    mov_write_string_metadata(VAR_2, VAR_0, "tven",    "episode_id",1);

    mov_write_string_metadata(VAR_2, VAR_0, "tvnn",    "network"  , 1);

    mov_write_trkn_tag(VAR_0, VAR_1, VAR_2);

    return update_size(VAR_0, pos);

}

static int FUNC_0(AVIOContext *VAR_0, MOVMuxContext *VAR_1,
AVFormatContext *VAR_2)
{ int64_t pos = avio_tell(VAR_0); avio_wb32(VAR_0, 0); ffio_wfourcc(VAR_0, "ilst"); mov_write_string_metadata(VAR_2, VAR_0, "\251nam", "title"    , 1); mov_write_string_metadata(VAR_2, VAR_0, "\251ART", "artist"   , 1); mov_write_string_metadata(VAR_2, VAR_0, "aART", "album_artist", 1); mov_write_string_metadata(VAR_2, VAR_0, "\251wrt", "composer" , 1); mov_write_string_metadata(VAR_2, VAR_0, "\251alb", "album"    , 1); mov_write_string_metadata(VAR_2, VAR_0, "\251day", "date"     , 1); mov_write_string_tag(VAR_0, "\251too", LIBAVFORMAT_IDENT, 0, 1); mov_write_string_metadata(VAR_2, VAR_0, "\251cmt", "comment"  , 1); mov_write_string_metadata(VAR_2, VAR_0, "\251gen", "genre"    , 1); mov_write_string_metadata(VAR_2, VAR_0, "\251cpy", "copyright", 1); mov_write_string_metadata(VAR_2, VAR_0, "\251grp", "grouping" , 1); mov_write_string_metadata(VAR_2, VAR_0, "\251lyr", "lyrics"   , 1); mov_write_string_metadata(VAR_2, VAR_0, "desc",    "description",1); mov_write_string_metadata(VAR_2, VAR_0, "ldes",    "synopsis" , 1); mov_write_string_metadata(VAR_2, VAR_0, "tvsh",    "show"     , 1); mov_write_string_metadata(VAR_2, VAR_0, "tven",    "episode_id",1); mov_write_string_metadata(VAR_2, VAR_0, "tvnn",    "network"  , 1); mov_write_trkn_tag(VAR_0, VAR_1, VAR_2); return update_size(VAR_0, pos); }