Revision 62f25230 libavformat/avidec.c

View differences:

libavformat/avidec.c
1026 1026
            continue;
1027 1027

  
1028 1028
//        assert(st2->codec->block_align);
1029
        assert(st2->time_base.den == ast2->rate);
1030
        assert(st2->time_base.num == ast2->scale);
1029
        assert((int64_t)st2->time_base.num*ast2->rate == (int64_t)st2->time_base.den*ast2->scale);
1031 1030
        index = av_index_search_timestamp(
1032 1031
                st2,
1033 1032
                av_rescale(timestamp, st2->time_base.den*(int64_t)st->time_base.num, st->time_base.den * (int64_t)st2->time_base.num),

Also available in: Unified diff