Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47207
b: refs/heads/master
c: 0981a26
h: refs/heads/master
i:
  47205: b8fe456
  47203: c6d8822
  47199: 257c1c3
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Feb 9, 2007
1 parent 30b773f commit 75e759b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bc7320c5c8ddeb3b50c6a24013dab9ba74bce578
refs/heads/master: 0981a260a1fe4a3f22cc70ef01ce38a73f548745
5 changes: 5 additions & 0 deletions trunk/sound/core/pcm_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,11 @@ int snd_interval_list(struct snd_interval *i, unsigned int count, unsigned int *
{
unsigned int k;
int changed = 0;

if (!count) {
i->empty = 1;
return -EINVAL;
}
for (k = 0; k < count; k++) {
if (mask && !(mask & (1 << k)))
continue;
Expand Down

0 comments on commit 75e759b

Please sign in to comment.