avconv.c:1906: error: Uninitialized Value
  The value read from *size was never initialized.

avconv.c:1906:17: 
1904.                     exit_program(1);
1905.                 }
1906.                 *size += ret;
                      ^
1907.                 if (ost->logfile && enc->stats_out) {
1908.                     fprintf(ost->logfile, "%s", enc->stats_out);

static void flush_encoders(void)
{
    int i, ret;
    for (i = 0; i < nb_output_streams; i++) {
        OutputStream   *ost = output_streams[i];
        AVCodecContext *enc = ost->st->codec;
        AVFormatContext *os = output_files[ost->file_index]->ctx;
        int stop_encoding = 0;
        if (!ost->encoding_needed)
            continue;
        if (ost->st->codec->codec_type == AVMEDIA_TYPE_AUDIO && enc->frame_size <= 1)
            continue;
        if (ost->st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (os->oformat->flags & AVFMT_RAWPICTURE) && enc->codec->id == CODEC_ID_RAWVIDEO)
            continue;
        for (;;) {
            int (*encode)(AVCodecContext*, AVPacket*, const AVFrame*, int*) = NULL;
            const char *desc;
            int64_t *size;
            switch (ost->st->codec->codec_type) {
            case AVMEDIA_TYPE_AUDIO:
                encode = avcodec_encode_audio2;
                desc   = "Audio";
                size   = &audio_size;
                break;
            case AVMEDIA_TYPE_VIDEO:
                encode = avcodec_encode_video2;
                desc   = "Video";
                size   = &video_size;
                break;
            default:
                stop_encoding = 1;
            }
            if (encode) {
                AVPacket pkt;
                int got_packet;
                av_init_packet(&pkt);
                pkt.data = NULL;
                pkt.size = 0;
                ret = encode(enc, &pkt, NULL, &got_packet);
                if (ret < 0) {
                    av_log(NULL, AV_LOG_FATAL, "%s encoding failed\n", desc);
                    exit_program(1);
                }
                *size += ret;
                if (ost->logfile && enc->stats_out) {
                    fprintf(ost->logfile, "%s", enc->stats_out);
                }
                if (!got_packet) {
                    stop_encoding = 1;
                    break;
                }
                if (pkt.pts != AV_NOPTS_VALUE)
                    pkt.pts = av_rescale_q(pkt.pts, enc->time_base, ost->st->time_base);
                if (pkt.dts != AV_NOPTS_VALUE)
                    pkt.dts = av_rescale_q(pkt.dts, enc->time_base, ost->st->time_base);
                write_frame(os, &pkt, ost);
            }
            if (stop_encoding)
                break;
        }
    }
}
['static void flush_encoders(void)\n{\n    int i, ret;\n    for (i = 0; i < nb_output_streams; i++) {\n        OutputStream   *ost = output_streams[i];\n        AVCodecContext *enc = ost->st->codec;\n        AVFormatContext *os = output_files[ost->file_index]->ctx;\n        int stop_encoding = 0;\n        if (!ost->encoding_needed)\n            continue;\n        if (ost->st->codec->codec_type == AVMEDIA_TYPE_AUDIO && enc->frame_size <= 1)\n            continue;\n        if (ost->st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (os->oformat->flags & AVFMT_RAWPICTURE) && enc->codec->id == CODEC_ID_RAWVIDEO)\n            continue;\n        for (;;) {\n            int (*encode)(AVCodecContext*, AVPacket*, const AVFrame*, int*) = NULL;\n            const char *desc;\n            int64_t *size;\n            switch (ost->st->codec->codec_type) {\n            case AVMEDIA_TYPE_AUDIO:\n                encode = avcodec_encode_audio2;\n                desc   = "Audio";\n                size   = &audio_size;\n                break;\n            case AVMEDIA_TYPE_VIDEO:\n                encode = avcodec_encode_video2;\n                desc   = "Video";\n                size   = &video_size;\n                break;\n            default:\n                stop_encoding = 1;\n            }\n            if (encode) {\n                AVPacket pkt;\n                int got_packet;\n                av_init_packet(&pkt);\n                pkt.data = NULL;\n                pkt.size = 0;\n                ret = encode(enc, &pkt, NULL, &got_packet);\n                if (ret < 0) {\n                    av_log(NULL, AV_LOG_FATAL, "%s encoding failed\\n", desc);\n                    exit_program(1);\n                }\n                *size += ret;\n                if (ost->logfile && enc->stats_out) {\n                    fprintf(ost->logfile, "%s", enc->stats_out);\n                }\n                if (!got_packet) {\n                    stop_encoding = 1;\n                    break;\n                }\n                if (pkt.pts != AV_NOPTS_VALUE)\n                    pkt.pts = av_rescale_q(pkt.pts, enc->time_base, ost->st->time_base);\n                if (pkt.dts != AV_NOPTS_VALUE)\n                    pkt.dts = av_rescale_q(pkt.dts, enc->time_base, ost->st->time_base);\n                write_frame(os, &pkt, ost);\n            }\n            if (stop_encoding)\n                break;\n        }\n    }\n}']