Revision abd2256d libavformat/nutdec.c

View differences:

libavformat/nutdec.c
406 406

  
407 407
    if(chapter_id && !stream_id_plus1){
408 408
        int64_t start= chapter_start / nut->time_base_count;
409
        chapter= ff_new_chapter(s, chapter_id, start, start + chapter_len, NULL);
410
        chapter->time_base= nut->time_base[chapter_start % nut->time_base_count];
409
        chapter= ff_new_chapter(s, chapter_id,
410
                                nut->time_base[chapter_start % nut->time_base_count],
411
                                start, start + chapter_len, NULL);
411 412
    }
412 413

  
413 414
    for(i=0; i<count; i++){

Also available in: Unified diff