Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
d5b75641
Commit
d5b75641
authored
Feb 18, 2013
by
Jörg Thalheim
Committed by
Max Kellermann
Feb 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
command: allow to omit END in ranges (START:END)
If END is omitted, mpd should use the highest possible value instead of raising an error. This partially reverts
52e9cab1
parent
96dc0a31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
NEWS
NEWS
+2
-0
argparser.c
src/protocol/argparser.c
+1
-1
No files found.
NEWS
View file @
d5b75641
ver 0.17.4 (2013/??/??)
* protocol:
- allow to omit END in ranges (START:END)
* decoder:
- ffmpeg: support float planar audio (ffmpeg 1.1)
* player:
...
...
src/protocol/argparser.c
View file @
d5b75641
...
...
@@ -103,7 +103,7 @@ check_range(struct client *client, unsigned *value_r1, unsigned *value_r2,
if
(
*
test
==
':'
)
{
value
=
strtol
(
++
test
,
&
test2
,
10
);
if
(
test2
==
test
||
*
test2
!=
'\0'
)
{
if
(
*
test2
!=
'\0'
)
{
command_error
(
client
,
ACK_ERROR_ARG
,
"Integer or range expected: %s"
,
s
);
return
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment