libavformat/mpeg.c:602: error: Uninitialized Value
  The value read from dts was never initialized.

libavformat/mpeg.c:602:5: 
600.             pos, dts, dts / 90000.0);
601.     *ppos = pos;
602.     return dts;
         ^
603. }
604. 

static int64_t mpegps_read_dts(AVFormatContext *s, int stream_index,
                               int64_t *ppos, int64_t pos_limit)
{
    int len, startcode;
    int64_t pos, pts, dts;
    pos = *ppos;
    if (avio_seek(s->pb, pos, SEEK_SET) < 0)
        return AV_NOPTS_VALUE;
    for(;;) {
        len = mpegps_read_pes_header(s, &pos, &startcode, &pts, &dts);
        if (len < 0) {
            av_dlog(s, "none (ret=%d)\n", len);
            return AV_NOPTS_VALUE;
        }
        if (startcode == s->streams[stream_index]->id &&
            dts != AV_NOPTS_VALUE) {
            break;
        }
        avio_skip(s->pb, len);
    }
    av_dlog(s, "pos=0x%"PRIx64" dts=0x%"PRIx64" %0.3f\n",
            pos, dts, dts / 90000.0);
    *ppos = pos;
    return dts;
}
['static int64_t mpegps_read_dts(AVFormatContext *s, int stream_index,\n                               int64_t *ppos, int64_t pos_limit)\n{\n    int len, startcode;\n    int64_t pos, pts, dts;\n    pos = *ppos;\n    if (avio_seek(s->pb, pos, SEEK_SET) < 0)\n        return AV_NOPTS_VALUE;\n    for(;;) {\n        len = mpegps_read_pes_header(s, &pos, &startcode, &pts, &dts);\n        if (len < 0) {\n            av_dlog(s, "none (ret=%d)\\n", len);\n            return AV_NOPTS_VALUE;\n        }\n        if (startcode == s->streams[stream_index]->id &&\n            dts != AV_NOPTS_VALUE) {\n            break;\n        }\n        avio_skip(s->pb, len);\n    }\n    av_dlog(s, "pos=0x%"PRIx64" dts=0x%"PRIx64" %0.3f\\n",\n            pos, dts, dts / 90000.0);\n    *ppos = pos;\n    return dts;\n}']