static void mov_parse_stsd_subtitle(MOVContext *c, AVIOContext *pb,

                                    AVStream *st, MOVStreamContext *sc,

                                    int size)

{

    // ttxt stsd contains display flags, justification, background

    // color, fonts, and default styles, so fake an atom to read it

    MOVAtom fake_atom = { .size = size };

    // mp4s contains a regular esds atom

    if (st->codec->codec_tag != AV_RL32("mp4s"))

        mov_read_glbl(c, pb, fake_atom);

    st->codec->width  = sc->width;

    st->codec->height = sc->height;

}

static void mov_parse_stsd_subtitle(MOVContext *c, AVIOContext *pb,

                                    AVStream *st, MOVStreamContext *sc,

                                    int size)

{

    

    

    MOVAtom fake_atom = { .size = size };

    

    if (st->codec->codec_tag != AV_RL32("mp4s"))

        mov_read_glbl(c, pb, fake_atom);

    st->codec->width  = sc->width;

    st->codec->height = sc->height;

}

                                    int size)
static void FUNC_0(MOVContext *VAR_0, AVIOContext *VAR_1,

                                    AVStream *VAR_2, MOVStreamContext *VAR_3,

                                    int VAR_4)

{

    

    

    MOVAtom fake_atom = { .VAR_4 = VAR_4 };

    

    if (VAR_2->codec->codec_tag != AV_RL32("mp4s"))

        mov_read_glbl(VAR_0, VAR_1, fake_atom);

    VAR_2->codec->width  = VAR_3->width;

    VAR_2->codec->height = VAR_3->height;

}

static void FUNC_0(MOVContext *VAR_0, AVIOContext *VAR_1,
AVStream *VAR_2, MOVStreamContext *VAR_3,
int VAR_4)
{ MOVAtom fake_atom = { .VAR_4 = VAR_4 }; if (VAR_2->codec->codec_tag != AV_RL32("mp4s"))
mov_read_glbl(VAR_0, VAR_1, fake_atom); VAR_2->codec->width  = VAR_3->width; VAR_2->codec->height = VAR_3->height; }