fix mem leak

This commit is contained in:
pigeatgarlic 2023-11-08 21:04:11 +07:00
parent 60e72abeef
commit 0407248e18

View File

@ -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;
}