Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#115 mpg123_scan counts partial frames at the end of mp3 files

open
nobody
None
5
2012-12-12
2009-09-22
Patr3ck
No

the frame count is wrong and return from mpg123_length also is incorrect

Discussion

  • Patr3ck
    Patr3ck
    2009-09-23

    mpg123_read seems to also decode the last partial frame. What is the behavior wanted from libmpg123, try to decode the partial frame and fill up with zeroes? Then feeder mode would be incorrect in frame count and decoded samples. Or is it OK that they behave differently?

     
  • Thomas Orgis
    Thomas Orgis
    2009-09-23

    Eh... please define "partial frame". The parser reads it fine, so it's counted by scan?

     
  • Patr3ck
    Patr3ck
    2009-09-23

    partial frame. a frame header is there but the frame body is incomplete.

    Thomas said on IRC:
    [14:41] <sobukus> a partial frame should not make get_next_frame() succeed
    [14:41] <sobukus> so it should not be counted

     
  • Thomas Orgis
    Thomas Orgis
    2012-03-07

    Is there a current info on this issue?