Revision a351110e libavformat/oggparseflac.c

View differences:

libavformat/oggparseflac.c
65 65
        memcpy(st->codec->extradata, streaminfo_start, FLAC_STREAMINFO_SIZE);
66 66
        st->codec->extradata_size = FLAC_STREAMINFO_SIZE;
67 67

  
68
        st->time_base.num = 1;
69
        st->time_base.den = st->codec->sample_rate;
68
        av_set_pts_info(st, 64, 1, st->codec->sample_rate);
70 69
    } else if (mdt == FLAC_METADATA_TYPE_VORBIS_COMMENT) {
71 70
        ff_vorbis_comment (s, &st->metadata, os->buf + os->pstart + 4, os->psize - 4);
72 71
    }

Also available in: Unified diff