libavcodec/metasound.c:319: error: Uninitialized Value
  The value read from isampf was never initialized.

libavcodec/metasound.c:319:5: 
317.         tctx->mtab = &ff_metasound_mode1110;
318.         break;
319.     case (2 << 16) + (11 << 8) + 10:
         ^
320.         tctx->mtab = &ff_metasound_mode1110s;
321.         break;

static av_cold int metasound_decode_init(AVCodecContext *avctx)
{
    int isampf, ibps;
    TwinVQContext *tctx = avctx->priv_data;
    uint32_t tag;
    const MetasoundProps *props = codec_props;
    if (!avctx->extradata || avctx->extradata_size < 16) {
        av_log(avctx, AV_LOG_ERROR, "Missing or incomplete extradata\n");
        return AVERROR_INVALIDDATA;
    }
    tag = AV_RL32(avctx->extradata + 12);
    for (;;) {
        if (!props->tag) {
            av_log(avctx, AV_LOG_ERROR, "Could not find tag %08X\n", tag);
            return AVERROR_INVALIDDATA;
        }
        if (props->tag == tag) {
            avctx->sample_rate = props->sample_rate;
            avctx->channels    = props->channels;
            avctx->bit_rate    = props->bit_rate * 1000;
            isampf             = avctx->sample_rate / 1000;
            break;
        }
        props++;
    }
    if (avctx->channels <= 0 || avctx->channels > TWINVQ_CHANNELS_MAX) {
        av_log(avctx, AV_LOG_ERROR, "Unsupported number of channels: %i\n",
               avctx->channels);
        return AVERROR_INVALIDDATA;
    }
    avctx->channel_layout = avctx->channels == 1 ? AV_CH_LAYOUT_MONO
                                                 : AV_CH_LAYOUT_STEREO;
    ibps = avctx->bit_rate / (1000 * avctx->channels);
    switch ((avctx->channels << 16) + (isampf << 8) + ibps) {
    case (1 << 16) + ( 8 << 8) +  8:
        tctx->mtab = &ff_metasound_mode0808;
        break;
    case (2 << 16) + ( 8 << 8) +  8:
        tctx->mtab = &ff_metasound_mode0808s;
        break;
    case (1 << 16) + (11 << 8) + 10:
        tctx->mtab = &ff_metasound_mode1110;
        break;
    case (2 << 16) + (11 << 8) + 10:
        tctx->mtab = &ff_metasound_mode1110s;
        break;
    case (1 << 16) + (16 << 8) + 16:
        tctx->mtab = &ff_metasound_mode1616;
        break;
    case (2 << 16) + (16 << 8) + 16:
        tctx->mtab = &ff_metasound_mode1616s;
        break;
    case (1 << 16) + (22 << 8) + 24:
        tctx->mtab = &ff_metasound_mode2224;
        break;
    case (2 << 16) + (22 << 8) + 24:
        tctx->mtab = &ff_metasound_mode2224s;
        break;
    case (1 << 16) + (44 << 8) + 32:
        tctx->mtab = &ff_metasound_mode4432;
        break;
    case (2 << 16) + (44 << 8) + 32:
        tctx->mtab = &ff_metasound_mode4432s;
        break;
    case (1 << 16) + (44 << 8) + 40:
        tctx->mtab = &ff_metasound_mode4440;
        break;
    case (2 << 16) + (44 << 8) + 40:
        tctx->mtab = &ff_metasound_mode4440s;
        break;
    case (1 << 16) + (44 << 8) + 48:
        tctx->mtab = &ff_metasound_mode4448;
        break;
    case (2 << 16) + (44 << 8) + 48:
        tctx->mtab = &ff_metasound_mode4448s;
        break;
    default:
        av_log(avctx, AV_LOG_ERROR,
               "This version does not support %d kHz - %d kbit/s/ch mode.\n",
               isampf, ibps);
        return AVERROR(ENOSYS);
    }
    tctx->codec          = TWINVQ_CODEC_METASOUND;
    tctx->read_bitstream = metasound_read_bitstream;
    tctx->dec_bark_env   = dec_bark_env;
    tctx->decode_ppc     = decode_ppc;
    tctx->frame_size     = avctx->bit_rate * tctx->mtab->size
                                           / avctx->sample_rate;
    return ff_twinvq_decode_init(avctx);
}
['static av_cold int metasound_decode_init(AVCodecContext *avctx)\n{\n    int isampf, ibps;\n    TwinVQContext *tctx = avctx->priv_data;\n    uint32_t tag;\n    const MetasoundProps *props = codec_props;\n    if (!avctx->extradata || avctx->extradata_size < 16) {\n        av_log(avctx, AV_LOG_ERROR, "Missing or incomplete extradata\\n");\n        return AVERROR_INVALIDDATA;\n    }\n    tag = AV_RL32(avctx->extradata + 12);\n    for (;;) {\n        if (!props->tag) {\n            av_log(avctx, AV_LOG_ERROR, "Could not find tag %08X\\n", tag);\n            return AVERROR_INVALIDDATA;\n        }\n        if (props->tag == tag) {\n            avctx->sample_rate = props->sample_rate;\n            avctx->channels    = props->channels;\n            avctx->bit_rate    = props->bit_rate * 1000;\n            isampf             = avctx->sample_rate / 1000;\n            break;\n        }\n        props++;\n    }\n    if (avctx->channels <= 0 || avctx->channels > TWINVQ_CHANNELS_MAX) {\n        av_log(avctx, AV_LOG_ERROR, "Unsupported number of channels: %i\\n",\n               avctx->channels);\n        return AVERROR_INVALIDDATA;\n    }\n    avctx->channel_layout = avctx->channels == 1 ? AV_CH_LAYOUT_MONO\n                                                 : AV_CH_LAYOUT_STEREO;\n    ibps = avctx->bit_rate / (1000 * avctx->channels);\n    switch ((avctx->channels << 16) + (isampf << 8) + ibps) {\n    case (1 << 16) + ( 8 << 8) +  8:\n        tctx->mtab = &ff_metasound_mode0808;\n        break;\n    case (2 << 16) + ( 8 << 8) +  8:\n        tctx->mtab = &ff_metasound_mode0808s;\n        break;\n    case (1 << 16) + (11 << 8) + 10:\n        tctx->mtab = &ff_metasound_mode1110;\n        break;\n    case (2 << 16) + (11 << 8) + 10:\n        tctx->mtab = &ff_metasound_mode1110s;\n        break;\n    case (1 << 16) + (16 << 8) + 16:\n        tctx->mtab = &ff_metasound_mode1616;\n        break;\n    case (2 << 16) + (16 << 8) + 16:\n        tctx->mtab = &ff_metasound_mode1616s;\n        break;\n    case (1 << 16) + (22 << 8) + 24:\n        tctx->mtab = &ff_metasound_mode2224;\n        break;\n    case (2 << 16) + (22 << 8) + 24:\n        tctx->mtab = &ff_metasound_mode2224s;\n        break;\n    case (1 << 16) + (44 << 8) + 32:\n        tctx->mtab = &ff_metasound_mode4432;\n        break;\n    case (2 << 16) + (44 << 8) + 32:\n        tctx->mtab = &ff_metasound_mode4432s;\n        break;\n    case (1 << 16) + (44 << 8) + 40:\n        tctx->mtab = &ff_metasound_mode4440;\n        break;\n    case (2 << 16) + (44 << 8) + 40:\n        tctx->mtab = &ff_metasound_mode4440s;\n        break;\n    case (1 << 16) + (44 << 8) + 48:\n        tctx->mtab = &ff_metasound_mode4448;\n        break;\n    case (2 << 16) + (44 << 8) + 48:\n        tctx->mtab = &ff_metasound_mode4448s;\n        break;\n    default:\n        av_log(avctx, AV_LOG_ERROR,\n               "This version does not support %d kHz - %d kbit/s/ch mode.\\n",\n               isampf, ibps);\n        return AVERROR(ENOSYS);\n    }\n    tctx->codec          = TWINVQ_CODEC_METASOUND;\n    tctx->read_bitstream = metasound_read_bitstream;\n    tctx->dec_bark_env   = dec_bark_env;\n    tctx->decode_ppc     = decode_ppc;\n    tctx->frame_size     = avctx->bit_rate * tctx->mtab->size\n                                           / avctx->sample_rate;\n    return ff_twinvq_decode_init(avctx);\n}']