diff options
| -rw-r--r-- | apps/buffering.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/buffering.c b/apps/buffering.c index 349dc9b..da18cd5 100644 --- a/apps/buffering.c +++ b/apps/buffering.c @@ -655,9 +655,11 @@ static bool buffer_handle(int handle_id) h->available += rc; h->filerem -= rc; + yield(); + /* If this is a large file, see if we need to break or give the codec * more time */ - if (h->type==TYPE_PACKET_AUDIO && yield_codec()) + if (h->type == TYPE_PACKET_AUDIO && yield_codec()) break; } |