Revision a351110e libavformat/oggparsevorbis.c

View differences:

libavformat/oggparsevorbis.c
252 252

  
253 253
        if (srate > 0) {
254 254
            st->codec->sample_rate = srate;
255
            st->time_base.num = 1;
256
            st->time_base.den = srate;
255
            av_set_pts_info(st, 64, 1, srate);
257 256
        }
258 257
    } else if (os->buf[os->pstart] == 3) {
259 258
        if (os->psize > 8 &&

Also available in: Unified diff