Revision 133055c5

View differences:

libavformat/asfdec.c
235 235
    if (!asf_st)
236 236
        return AVERROR(ENOMEM);
237 237
    st->priv_data = asf_st;
238
    st->start_time = 0;
239 238
    start_time = asf->hdr.preroll;
240 239

  
241 240
    asf_st->stream_language_index = 128; // invalid stream index means no language info
libavformat/avformat.h
534 534
     * Only set this if you are absolutely 100% sure that the value you set
535 535
     * it to really is the pts of the first frame.
536 536
     * This may be undefined (AV_NOPTS_VALUE).
537
     * @note The ASF header does NOT contain a correct start_time the ASF
538
     * demuxer must NOT set this.
537 539
     */
538 540
    int64_t start_time;
539 541

  

Also available in: Unified diff