• Max Kellermann's avatar
    decoder/faad: estimate song duration for remote files · a960e2ef
    Max Kellermann authored
    Previously, MPD tried to slurp the whole song file, count the number
    of frames and calculate the song duration from that.  That however is
    extremely expensive for remote files, and will delay playback for a
    long time.  Workaround: check only the first 128 frames and try to
    extrapolate from here.  Fixes Mantis ticket 0004035.
    a960e2ef
FaadDecoderPlugin.cxx 11.9 KB