diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/filter/af.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/audio/filter/af.c b/audio/filter/af.c index 51dbd3fa77..9f534ad2fb 100644 --- a/audio/filter/af.c +++ b/audio/filter/af.c @@ -443,8 +443,8 @@ int af_reinit(struct af_stream *s) // filter which needs no initialization. struct af_instance *af = s->first->next; int retry = 0; - while (af && retry < 5) { - if (retry >= 5) + while (af) { + if (retry >= 20) goto negotiate_error; // Check if this is the first filter @@ -492,7 +492,6 @@ int af_reinit(struct af_stream *s) af_print_filter_chain(s, af); return AF_ERROR; } - retry = 0; } af_print_filter_chain(s, NULL); |