summaryrefslogtreecommitdiff
path: root/modules/opus/audio_stream_opus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/opus/audio_stream_opus.cpp')
-rw-r--r--modules/opus/audio_stream_opus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/opus/audio_stream_opus.cpp b/modules/opus/audio_stream_opus.cpp
index 70d0f770d8..615081d818 100644
--- a/modules/opus/audio_stream_opus.cpp
+++ b/modules/opus/audio_stream_opus.cpp
@@ -280,7 +280,7 @@ int AudioStreamPlaybackOpus::mix(int16_t *p_buffer, int p_frames) {
int todo = p_frames;
- if (todo == 0 || todo < MIN_MIX) {
+ if (todo < MIN_MIX) {
break;
}