Revision 9b1db5ec

View differences:

libavformat/oggparseskeleton.c
62 62
        if (start_den) {
63 63
            av_reduce(&start_time, &st->time_base.den, start_num, start_den, INT_MAX);
64 64
            st->time_base.num = 1;
65
            os->lastpts =
65 66
            st->start_time = start_time;
66 67
        }
67 68
    } else if (!strncmp(buf, "fisbone", 8)) {
......
71 72
        target_idx = ogg_find_stream(ogg, AV_RL32(buf+12));
72 73
        start_granule = AV_RL64(buf+36);
73 74
        if (target_idx >= 0 && start_granule != -1) {
75
            ogg->streams[target_idx].lastpts =
74 76
            s->streams[target_idx]->start_time = ogg_gptopts(s, target_idx, start_granule, NULL);
75 77
        }
76 78
    }

Also available in: Unified diff