projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Hopefully fail to break anything in the process of syncing with trunk (r47786)
[reactos.git]
/
lib
/
drivers
/
sound
/
mmixer
/
filter.c
diff --git
a/lib/drivers/sound/mmixer/filter.c
b/lib/drivers/sound/mmixer/filter.c
index
d02477d
..
955fd27
100644
(file)
--- a/
lib/drivers/sound/mmixer/filter.c
+++ b/
lib/drivers/sound/mmixer/filter.c
@@
-57,6
+57,9
@@
MMixerGetFilterTopologyProperty(
if (Status != MM_STATUS_MORE_ENTRIES)
return Status;
+ //sanity check
+ ASSERT(BytesReturned);
+
// allocate an result buffer
MultipleItem = (PKSMULTIPLE_ITEM)MixerContext->Alloc(BytesReturned);