Menu

#97 flac --skip --until reads entire file

closed-fixed
5
2004-10-01
2003-11-30
Spud McDuck
No

I'm having a problem with flac 1.1.0 for both Solaris
(binary version) and NetBSD 1.6 (self-compiled).

On many of my flac files with cuesheets, trying to
decode a specific portion of the file (with --skip and --
until) results in the proper portion being decoded, but
after that, the rest of the file until EOF is read (but not
decoded, as far as I can tell.) Obviously, this is a big
problem when playing these flacs in a continuous playlist.

This issue is preventing me from implementing proper
cuesheet support in the Squeezebox network audio
player, so I'd like to get to the bottom of it. I can
provide problematic flac files if necessary.

Thanks
--Jason

Discussion

  • Nobody/Anonymous

    Logged In: NO

    For what it's worth, I've seen the behaviour he describes on
    linux boxes as well.

     
  • Josh Coalson

    Josh Coalson - 2004-03-16
    • assigned_to: nobody --> jcoalson
    • status: open --> open-fixed
     
  • Josh Coalson

    Josh Coalson - 2004-03-16

    Logged In: YES
    user_id=78173

    Correct. --skip will properly seek if possible but
    --until was still decoding to EOF.

    This is now fixed in CVS. A patched version for 1.1.0 of
    src/flac/decode.c with the fix is here:

    http://cvs.sourceforge.net/viewcvs.py/\*checkout*/flac/flac/src/flac/decode.c?rev=1.66.2.1

    I'll close this out after the next release.

    Josh

     
  • Josh Coalson

    Josh Coalson - 2004-10-01
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.