Revision 3fc9d7ce

View differences:

libavformat/matroskadec.c
1274 1274
            av_log(matroska->ctx, AV_LOG_INFO,
1275 1275
                   "Unknown/unsupported CodecID %s.\n", track->codec_id);
1276 1276

  
1277
        if (track->time_scale < 0.01)
1278
            track->time_scale = 1.0;
1277 1279
        av_set_pts_info(st, 64, matroska->time_scale*track->time_scale, 1000*1000*1000); /* 64 bit pts in ns */
1278 1280

  
1279 1281
        st->codec->codec_id = codec_id;

Also available in: Unified diff