Revision 98a7d560

View differences:

libavformat/matroskadec.c
1852 1852
    for (i=0; i<blocks_list->nb_elem; i++)
1853 1853
        if (blocks[i].bin.size > 0 && blocks[i].bin.data) {
1854 1854
            int is_keyframe = blocks[i].non_simple ? !blocks[i].reference : -1;
1855
            if (!blocks[i].non_simple)
1856
                blocks[i].duration = AV_NOPTS_VALUE;
1855 1857
            res=matroska_parse_block(matroska,
1856 1858
                                     blocks[i].bin.data, blocks[i].bin.size,
1857 1859
                                     blocks[i].bin.pos,  cluster.timecode,

Also available in: Unified diff