Revision 6cc65ab3

View differences:

libavformat/utils.c
1697 1697
            if (!has_codec_parameters(st->codec))
1698 1698
                break;
1699 1699
            /* variable fps and no guess at the real fps */
1700
            if(   st->codec->time_base.den >= 101LL*st->codec->time_base.num
1700
            if(   (st->codec->time_base.den >= 101LL*st->codec->time_base.num || st->codec->codec_id == CODEC_ID_MPEG2VIDEO)
1701 1701
               && duration_count[i]<20 && st->codec->codec_type == CODEC_TYPE_VIDEO)
1702 1702
                break;
1703 1703
            if(st->parser && st->parser->parser->split && !st->codec->extradata)

Also available in: Unified diff