int ff_replaygain_export(AVStream *st, AVDictionary *metadata)

{

    const AVDictionaryEntry *tg, *tp, *ag, *ap;



    tg = av_dict_get(metadata, "REPLAYGAIN_TRACK_GAIN", NULL, 0);

    tp = av_dict_get(metadata, "REPLAYGAIN_TRACK_PEAK", NULL, 0);

    ag = av_dict_get(metadata, "REPLAYGAIN_ALBUM_GAIN", NULL, 0);

    ap = av_dict_get(metadata, "REPLAYGAIN_ALBUM_PEAK", NULL, 0);



    return replaygain_export(st,

                             tg ? tg->value : NULL,

                             tp ? tp->value : NULL,

                             ag ? ag->value : NULL,

                             ap ? ap->value : NULL);

}

int ff_replaygain_export(AVStream *st, AVDictionary *metadata)

{

    const AVDictionaryEntry *tg, *tp, *ag, *ap;



    tg = av_dict_get(metadata, "REPLAYGAIN_TRACK_GAIN", NULL, 0);

    tp = av_dict_get(metadata, "REPLAYGAIN_TRACK_PEAK", NULL, 0);

    ag = av_dict_get(metadata, "REPLAYGAIN_ALBUM_GAIN", NULL, 0);

    ap = av_dict_get(metadata, "REPLAYGAIN_ALBUM_PEAK", NULL, 0);



    return replaygain_export(st,

                             tg ? tg->value : NULL,

                             tp ? tp->value : NULL,

                             ag ? ag->value : NULL,

                             ap ? ap->value : NULL);

}

int FUNC_0(AVStream *VAR_0, AVDictionary *VAR_1)

{

    const AVDictionaryEntry *VAR_2, *tp, *ag, *ap;



    VAR_2 = av_dict_get(VAR_1, "REPLAYGAIN_TRACK_GAIN", NULL, 0);

    tp = av_dict_get(VAR_1, "REPLAYGAIN_TRACK_PEAK", NULL, 0);

    ag = av_dict_get(VAR_1, "REPLAYGAIN_ALBUM_GAIN", NULL, 0);

    ap = av_dict_get(VAR_1, "REPLAYGAIN_ALBUM_PEAK", NULL, 0);



    return replaygain_export(VAR_0,

                             VAR_2 ? VAR_2->value : NULL,

                             tp ? tp->value : NULL,

                             ag ? ag->value : NULL,

                             ap ? ap->value : NULL);

}

int FUNC_0(AVStream *VAR_0, AVDictionary *VAR_1)
{ const AVDictionaryEntry *VAR_2, *tp, *ag, *ap; VAR_2 = av_dict_get(VAR_1, "REPLAYGAIN_TRACK_GAIN", NULL, 0); tp = av_dict_get(VAR_1, "REPLAYGAIN_TRACK_PEAK", NULL, 0); ag = av_dict_get(VAR_1, "REPLAYGAIN_ALBUM_GAIN", NULL, 0); ap = av_dict_get(VAR_1, "REPLAYGAIN_ALBUM_PEAK", NULL, 0); return replaygain_export(VAR_0,
VAR_2 ? VAR_2->value : NULL,
tp ? tp->value : NULL,
ag ? ag->value : NULL,
ap ? ap->value : NULL); }