static int mov_parse_stsd_data(MOVContext *c, AVIOContext *pb,

                                AVStream *st, MOVStreamContext *sc,

                                int size)

{

    if (st->codec->codec_tag == MKTAG('t','m','c','d')) {

        st->codec->extradata_size = size;

        st->codec->extradata = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE);

        if (!st->codec->extradata)

            return AVERROR(ENOMEM);

        avio_read(pb, st->codec->extradata, size);

    } else {

        /* other codec type, just skip (rtp, mp4s ...) */

        avio_skip(pb, size);

    }

    return 0;

}

static int mov_parse_stsd_data(MOVContext *c, AVIOContext *pb,

                                AVStream *st, MOVStreamContext *sc,

                                int size)

{

    if (st->codec->codec_tag == MKTAG('t','m','c','d')) {

        st->codec->extradata_size = size;

        st->codec->extradata = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE);

        if (!st->codec->extradata)

            return AVERROR(ENOMEM);

        avio_read(pb, st->codec->extradata, size);

    } else {

        

        avio_skip(pb, size);

    }

    return 0;

}

        avio_read(pb, st->codec->extradata, size);
static int FUNC_0(MOVContext *VAR_0, AVIOContext *VAR_1,

                                AVStream *VAR_2, MOVStreamContext *VAR_3,

                                int VAR_4)

{

    if (VAR_2->codec->codec_tag == MKTAG('t','m','VAR_0','d')) {

        VAR_2->codec->extradata_size = VAR_4;

        VAR_2->codec->extradata = av_malloc(VAR_4 + FF_INPUT_BUFFER_PADDING_SIZE);

        if (!VAR_2->codec->extradata)

            return AVERROR(ENOMEM);

        avio_read(VAR_1, VAR_2->codec->extradata, VAR_4);

    } else {

        

        avio_skip(VAR_1, VAR_4);

    }

    return 0;

}

static int FUNC_0(MOVContext *VAR_0, AVIOContext *VAR_1,
AVStream *VAR_2, MOVStreamContext *VAR_3,
int VAR_4)
{ if (VAR_2->codec->codec_tag == MKTAG('t','m','VAR_0','d')) { VAR_2->codec->extradata_size = VAR_4; VAR_2->codec->extradata = av_malloc(VAR_4 + FF_INPUT_BUFFER_PADDING_SIZE); if (!VAR_2->codec->extradata)
return AVERROR(ENOMEM); avio_read(VAR_1, VAR_2->codec->extradata, VAR_4); } else { avio_skip(VAR_1, VAR_4); } return 0; }