We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53b2068 commit c50eddaCopy full SHA for c50edda
src/delaycut.cpp
@@ -506,10 +506,10 @@ void DelayCut::execCLI(int argc)
506
fprintf(stderr, "Start cut value is larger than length of file.\n");
507
exit(EXIT_FAILURE);
508
}
509
- checkVal = endCut * fps;
+ checkVal = endCut / fps;
510
if (checkVal > length)
511
{
512
- endCut = Delayac3::round(length * fps);
+ endCut = Delayac3::round(length / fps);
513
fprintf(stdout, "End cut value is larger than length of file. Truncating to %d frames.\n", (int) endCut);
514
515
0 commit comments