• Max Kellermann's avatar
    protocol/ArgParser: disallow negative seek times · dadd3ca6
    Max Kellermann authored
    Instead of stopping playback (due to seek time overflow), reject the
    seek command.  Closes #240
    
    Relative negative values (with "seekcur") are still allowed, and MPD
    will fix the resulting position if it turns out to be negative.  But
    the "seek" and "seekid" commands use an unsigned time stamp which must
    not be negative.
    dadd3ca6
Name
Last commit
Last update
..
Ack.cxx Loading commit data...
Ack.hxx Loading commit data...
ArgParser.cxx Loading commit data...
ArgParser.hxx Loading commit data...
Result.cxx Loading commit data...
Result.hxx Loading commit data...