summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/buffering.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/buffering.c b/apps/buffering.c
index 349dc9bbb9..da18cd5f4f 100644
--- a/apps/buffering.c
+++ b/apps/buffering.c
@@ -655,9 +655,11 @@ static bool buffer_handle(int handle_id)
655 h->available += rc; 655 h->available += rc;
656 h->filerem -= rc; 656 h->filerem -= rc;
657 657
658 yield();
659
658 /* If this is a large file, see if we need to break or give the codec 660 /* If this is a large file, see if we need to break or give the codec
659 * more time */ 661 * more time */
660 if (h->type==TYPE_PACKET_AUDIO && yield_codec()) 662 if (h->type == TYPE_PACKET_AUDIO && yield_codec())
661 break; 663 break;
662 } 664 }
663 665