mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2025-12-28 16:29:39 +00:00
fix mem leak
This commit is contained in:
parent
60e72abeef
commit
0407248e18
@ -59,7 +59,7 @@ int main(int argc, char *argv[])
|
||||
int count = 0;
|
||||
while (true) {
|
||||
int size = callpop(pipeline, data, &duration);
|
||||
if (callpeek(pipeline,STOP) || count == 10) {
|
||||
if (callpeek(pipeline,STOP) || count == 10000) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user