Revision a351110e libavformat/oggparsespeex.c

View differences:

libavformat/oggparsespeex.c
72 72
                                         + FF_INPUT_BUFFER_PADDING_SIZE);
73 73
        memcpy(st->codec->extradata, p, st->codec->extradata_size);
74 74

  
75
        st->time_base.num = 1;
76
        st->time_base.den = st->codec->sample_rate;
75
        av_set_pts_info(st, 64, 1, st->codec->sample_rate);
77 76
    } else
78 77
        ff_vorbis_comment(s, &st->metadata, p, os->psize);
79 78

  

Also available in: Unified diff