libavformat/asfdec.c:1589: error: Uninitialized Value
  The value read from st_found was never initialized.

libavformat/asfdec.c:1589:13: 
1587.             }
1588.         }
1589.         if (st_found)
                  ^
1590.             break;
1591.         av_packet_unref(&pkt);

static int64_t asf_read_timestamp(AVFormatContext *s, int stream_index,
                                  int64_t *pos, int64_t pos_limit)
{
    ASFContext *asf = s->priv_data;
    int64_t pkt_pos = *pos, pkt_offset, dts = AV_NOPTS_VALUE, data_end;
    AVPacket pkt;
    int n;
    data_end = asf->data_offset + asf->data_size;
    n = (pkt_pos - asf->first_packet_offset + asf->packet_size - 1) /
        asf->packet_size;
    n = av_clip(n, 0, ((data_end - asf->first_packet_offset) / asf->packet_size - 1));
    pkt_pos = asf->first_packet_offset +  n * asf->packet_size;
    avio_seek(s->pb, pkt_pos, SEEK_SET);
    pkt_offset = pkt_pos;
    reset_packet_state(s);
    while (avio_tell(s->pb) < data_end) {
        int i, ret, st_found;
        av_init_packet(&pkt);
        pkt_offset = avio_tell(s->pb);
        if ((ret = asf_read_packet(s, &pkt)) < 0) {
            dts = AV_NOPTS_VALUE;
            return ret;
        }
        if ((pkt_offset >= (pkt_pos + asf->packet_size)))
            pkt_pos += asf->packet_size;
        for (i = 0; i < asf->nb_streams; i++) {
            ASFStream *st = asf->asf_st[i];
            st_found = 0;
            if (pkt.flags & AV_PKT_FLAG_KEY) {
                dts = pkt.dts;
                if (dts) {
                    av_add_index_entry(s->streams[pkt.stream_index], pkt_pos,
                                       dts, pkt.size, 0, AVINDEX_KEYFRAME);
                    if (stream_index == st->index) {
                        st_found = 1;
                        break;
                    }
                }
            }
        }
        if (st_found)
            break;
        av_packet_unref(&pkt);
    }
    *pos = pkt_pos;
    av_packet_unref(&pkt);
    return dts;
}
['static int64_t asf_read_timestamp(AVFormatContext *s, int stream_index,\n                                  int64_t *pos, int64_t pos_limit)\n{\n    ASFContext *asf = s->priv_data;\n    int64_t pkt_pos = *pos, pkt_offset, dts = AV_NOPTS_VALUE, data_end;\n    AVPacket pkt;\n    int n;\n    data_end = asf->data_offset + asf->data_size;\n    n = (pkt_pos - asf->first_packet_offset + asf->packet_size - 1) /\n        asf->packet_size;\n    n = av_clip(n, 0, ((data_end - asf->first_packet_offset) / asf->packet_size - 1));\n    pkt_pos = asf->first_packet_offset +  n * asf->packet_size;\n    avio_seek(s->pb, pkt_pos, SEEK_SET);\n    pkt_offset = pkt_pos;\n    reset_packet_state(s);\n    while (avio_tell(s->pb) < data_end) {\n        int i, ret, st_found;\n        av_init_packet(&pkt);\n        pkt_offset = avio_tell(s->pb);\n        if ((ret = asf_read_packet(s, &pkt)) < 0) {\n            dts = AV_NOPTS_VALUE;\n            return ret;\n        }\n        if ((pkt_offset >= (pkt_pos + asf->packet_size)))\n            pkt_pos += asf->packet_size;\n        for (i = 0; i < asf->nb_streams; i++) {\n            ASFStream *st = asf->asf_st[i];\n            st_found = 0;\n            if (pkt.flags & AV_PKT_FLAG_KEY) {\n                dts = pkt.dts;\n                if (dts) {\n                    av_add_index_entry(s->streams[pkt.stream_index], pkt_pos,\n                                       dts, pkt.size, 0, AVINDEX_KEYFRAME);\n                    if (stream_index == st->index) {\n                        st_found = 1;\n                        break;\n                    }\n                }\n            }\n        }\n        if (st_found)\n            break;\n        av_packet_unref(&pkt);\n    }\n    *pos = pkt_pos;\n    av_packet_unref(&pkt);\n    return dts;\n}']