mpd/src/protocol
Max Kellermann dadd3ca671 protocol/ArgParser: disallow negative seek times
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.
2018-03-04 11:46:11 +01:00
..
Ack.cxx update copyright year 2017-01-03 20:48:59 +01:00
Ack.hxx update copyright year 2017-01-03 20:48:59 +01:00
ArgParser.cxx protocol/ArgParser: disallow negative seek times 2018-03-04 11:46:11 +01:00
ArgParser.hxx *: remove "pure" and "const" attributes from throwing functions 2017-05-08 17:25:06 +02:00
Result.cxx update copyright year 2017-01-03 20:48:59 +01:00
Result.hxx update copyright year 2017-01-03 20:48:59 +01:00