Menu

#125 --skip=mm:ss.ss 'skips' the fractions of a second

closed-fixed
6
2006-11-14
2004-09-20
Anonymous
No

Compiling flac-1.1.1-beta1 from source on Linux, "make
check" reported 1 failed test. The culprit turned out
to be test/test_flac.sh which dies on line 271 ["ERROR:
file mismatch for --skip=0:01.1001 (encode) (raw<->flac)"].

Fast-forwarding ahead, it looks like the problem lies
in the atof call on line 78 of src/flac/utils.c
(function local__parse_timecode_). I'm using a locale
where the decimal-point character is a comma and I
assume atof is expecting "01,1001" instead of
"01.1001". flac however doesn't like that form and
reports it as an invalid value (twice), so at the
moment that functionality is broken. Also, since
"xx.yy" just gets truncated to "xx" instead of failing,
it might go unnoticed for people who are using that
form of --skip.

-- menage71 at yahoo dot com

Discussion

  • Josh Coalson

    Josh Coalson - 2004-10-15
    • assigned_to: nobody --> jcoalson
     
  • Josh Coalson

    Josh Coalson - 2006-11-13
    • priority: 5 --> 6
    • status: open --> open-accepted
     
  • Josh Coalson

    Josh Coalson - 2006-11-14
    • status: open-accepted --> closed-fixed
     
  • Josh Coalson

    Josh Coalson - 2006-11-14

    Logged In: YES
    user_id=78173

    OK, fixed in CVS, thanks.

     

Log in to post a comment.