static void sdp_parse_fmtp_config(AVCodecContext *codec, char *attr, char *value)

{

    switch (codec->codec_id) {

        case CODEC_ID_MPEG4:

        case CODEC_ID_AAC:

            if (!strcmp(attr, "config")) {

                /* decode the hexa encoded parameter */

                int len = hex_to_data(NULL, value);



                codec->extradata = av_mallocz(len + FF_INPUT_BUFFER_PADDING_SIZE);

                if (!codec->extradata)

                    return;

                codec->extradata_size = len;

                hex_to_data(codec->extradata, value);

            }

            break;

        default:

            break;

    }

    return;

}
static void sdp_parse_fmtp_config(AVCodecContext *codec, char *attr, char *value)

{

    switch (codec->codec_id) {

        case CODEC_ID_MPEG4:

        case CODEC_ID_AAC:

            if (!strcmp(attr, "config")) {

                

                int len = hex_to_data(NULL, value);



                codec->extradata = av_mallocz(len + FF_INPUT_BUFFER_PADDING_SIZE);

                if (!codec->extradata)

                    return;

                codec->extradata_size = len;

                hex_to_data(codec->extradata, value);

            }

            break;

        default:

            break;

    }

    return;

}
static void FUNC_0(AVCodecContext *VAR_0, char *VAR_1, char *VAR_2)

{

    switch (VAR_0->codec_id) {

        case CODEC_ID_MPEG4:

        case CODEC_ID_AAC:

            if (!strcmp(VAR_1, "config")) {

                

                int VAR_3 = hex_to_data(NULL, VAR_2);



                VAR_0->extradata = av_mallocz(VAR_3 + FF_INPUT_BUFFER_PADDING_SIZE);

                if (!VAR_0->extradata)

                    return;

                VAR_0->extradata_size = VAR_3;

                hex_to_data(VAR_0->extradata, VAR_2);

            }

            break;

        default:

            break;

    }

    return;

}
static void FUNC_0(AVCodecContext *VAR_0, char *VAR_1, char *VAR_2)
{ switch (VAR_0->codec_id) { case CODEC_ID_MPEG4:
case CODEC_ID_AAC:
if (!strcmp(VAR_1, "config")) { int VAR_3 = hex_to_data(NULL, VAR_2); VAR_0->extradata = av_mallocz(VAR_3 + FF_INPUT_BUFFER_PADDING_SIZE); if (!VAR_0->extradata)
return; VAR_0->extradata_size = VAR_3; hex_to_data(VAR_0->extradata, VAR_2); } break; default:
break; } return; }