diff options
Diffstat (limited to 'audio/decode')
-rw-r--r-- | audio/decode/dec_audio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/decode/dec_audio.c b/audio/decode/dec_audio.c index cd83cfd55e..111f981690 100644 --- a/audio/decode/dec_audio.c +++ b/audio/decode/dec_audio.c @@ -284,6 +284,8 @@ void audio_work(struct dec_audio *da) read_frame(da); if (!da->current_frame) { feed_packet(da); + if (da->current_state == DATA_WAIT) + return; read_frame(da); // retry, to avoid redundant iterations } } |