avconv.c:2041: error: Uninitialized Value
  The value read from got_output was never initialized.

avconv.c:2041:64: 
2039. 
2040.     // while we have more to decode or while the decoder did output something on EOF
2041.     while (ist->decoding_needed && (avpkt.size > 0 || (!pkt && got_output))) {
                                                                     ^
2042.         int ret = 0;
2043.     handle_eof:

static int output_packet(InputStream *ist,
                         OutputStream *ost_table, int nb_ostreams,
                         const AVPacket *pkt)
{
    int i;
    int got_output;
    int64_t pkt_pts = AV_NOPTS_VALUE;
    AVPacket avpkt;
    if (ist->next_pts == AV_NOPTS_VALUE)
        ist->next_pts = ist->pts;
    if (pkt == NULL) {
        av_init_packet(&avpkt);
        avpkt.data = NULL;
        avpkt.size = 0;
        goto handle_eof;
    } else {
        avpkt = *pkt;
    }
    if (pkt->dts != AV_NOPTS_VALUE)
        ist->next_pts = ist->pts = av_rescale_q(pkt->dts, ist->st->time_base, AV_TIME_BASE_Q);
    if (pkt->pts != AV_NOPTS_VALUE)
        pkt_pts = av_rescale_q(pkt->pts, ist->st->time_base, AV_TIME_BASE_Q);
    while (ist->decoding_needed && (avpkt.size > 0 || (!pkt && got_output))) {
        int ret = 0;
    handle_eof:
        ist->pts = ist->next_pts;
        if (avpkt.size && avpkt.size != pkt->size) {
            av_log(NULL, ist->showed_multi_packet_warning ? AV_LOG_VERBOSE : AV_LOG_WARNING,
                   "Multiple frames in a packet from stream %d\n", pkt->stream_index);
            ist->showed_multi_packet_warning = 1;
        }
        switch (ist->st->codec->codec_type) {
        case AVMEDIA_TYPE_AUDIO:
            ret = transcode_audio    (ist, &avpkt, &got_output);
            break;
        case AVMEDIA_TYPE_VIDEO:
            ret = transcode_video    (ist, &avpkt, &got_output, &pkt_pts);
            break;
        case AVMEDIA_TYPE_SUBTITLE:
            ret = transcode_subtitles(ist, &avpkt, &got_output);
            break;
        default:
            return -1;
        }
        if (ret < 0)
            return ret;
        if (pkt) {
            avpkt.data += ret;
            avpkt.size -= ret;
        }
        if (!got_output) {
            continue;
        }
    }
    if (!ist->decoding_needed) {
        rate_emu_sleep(ist);
        ist->pts = ist->next_pts;
        switch (ist->st->codec->codec_type) {
        case AVMEDIA_TYPE_AUDIO:
            ist->next_pts += ((int64_t)AV_TIME_BASE * ist->st->codec->frame_size) /
                             ist->st->codec->sample_rate;
            break;
        case AVMEDIA_TYPE_VIDEO:
            if (ist->st->codec->time_base.num != 0) {
                int ticks = ist->st->parser ? ist->st->parser->repeat_pict + 1 : ist->st->codec->ticks_per_frame;
                ist->next_pts += ((int64_t)AV_TIME_BASE *
                                  ist->st->codec->time_base.num * ticks) /
                                  ist->st->codec->time_base.den;
            }
            break;
        }
    }
    for (i = 0; pkt && i < nb_ostreams; i++) {
        OutputStream *ost = &ost_table[i];
        if (!check_output_constraints(ist, ost) || ost->encoding_needed)
            continue;
        do_streamcopy(ist, ost, pkt);
    }
    return 0;
}
['static int output_packet(InputStream *ist,\n                         OutputStream *ost_table, int nb_ostreams,\n                         const AVPacket *pkt)\n{\n    int i;\n    int got_output;\n    int64_t pkt_pts = AV_NOPTS_VALUE;\n    AVPacket avpkt;\n    if (ist->next_pts == AV_NOPTS_VALUE)\n        ist->next_pts = ist->pts;\n    if (pkt == NULL) {\n        av_init_packet(&avpkt);\n        avpkt.data = NULL;\n        avpkt.size = 0;\n        goto handle_eof;\n    } else {\n        avpkt = *pkt;\n    }\n    if (pkt->dts != AV_NOPTS_VALUE)\n        ist->next_pts = ist->pts = av_rescale_q(pkt->dts, ist->st->time_base, AV_TIME_BASE_Q);\n    if (pkt->pts != AV_NOPTS_VALUE)\n        pkt_pts = av_rescale_q(pkt->pts, ist->st->time_base, AV_TIME_BASE_Q);\n    while (ist->decoding_needed && (avpkt.size > 0 || (!pkt && got_output))) {\n        int ret = 0;\n    handle_eof:\n        ist->pts = ist->next_pts;\n        if (avpkt.size && avpkt.size != pkt->size) {\n            av_log(NULL, ist->showed_multi_packet_warning ? AV_LOG_VERBOSE : AV_LOG_WARNING,\n                   "Multiple frames in a packet from stream %d\\n", pkt->stream_index);\n            ist->showed_multi_packet_warning = 1;\n        }\n        switch (ist->st->codec->codec_type) {\n        case AVMEDIA_TYPE_AUDIO:\n            ret = transcode_audio    (ist, &avpkt, &got_output);\n            break;\n        case AVMEDIA_TYPE_VIDEO:\n            ret = transcode_video    (ist, &avpkt, &got_output, &pkt_pts);\n            break;\n        case AVMEDIA_TYPE_SUBTITLE:\n            ret = transcode_subtitles(ist, &avpkt, &got_output);\n            break;\n        default:\n            return -1;\n        }\n        if (ret < 0)\n            return ret;\n        if (pkt) {\n            avpkt.data += ret;\n            avpkt.size -= ret;\n        }\n        if (!got_output) {\n            continue;\n        }\n    }\n    if (!ist->decoding_needed) {\n        rate_emu_sleep(ist);\n        ist->pts = ist->next_pts;\n        switch (ist->st->codec->codec_type) {\n        case AVMEDIA_TYPE_AUDIO:\n            ist->next_pts += ((int64_t)AV_TIME_BASE * ist->st->codec->frame_size) /\n                             ist->st->codec->sample_rate;\n            break;\n        case AVMEDIA_TYPE_VIDEO:\n            if (ist->st->codec->time_base.num != 0) {\n                int ticks = ist->st->parser ? ist->st->parser->repeat_pict + 1 : ist->st->codec->ticks_per_frame;\n                ist->next_pts += ((int64_t)AV_TIME_BASE *\n                                  ist->st->codec->time_base.num * ticks) /\n                                  ist->st->codec->time_base.den;\n            }\n            break;\n        }\n    }\n    for (i = 0; pkt && i < nb_ostreams; i++) {\n        OutputStream *ost = &ost_table[i];\n        if (!check_output_constraints(ist, ost) || ost->encoding_needed)\n            continue;\n        do_streamcopy(ist, ost, pkt);\n    }\n    return 0;\n}']