summaryrefslogtreecommitdiffstats
path: root/libhb/encavcodecaudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/encavcodecaudio.c')
-rw-r--r--libhb/encavcodecaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/encavcodecaudio.c b/libhb/encavcodecaudio.c
index 9f07f4a79..227ef289e 100644
--- a/libhb/encavcodecaudio.c
+++ b/libhb/encavcodecaudio.c
@@ -383,7 +383,7 @@ static void Encode(hb_work_object_t *w, hb_buffer_list_t *list)
hb_audio_t * audio = w->audio;
uint64_t pts, pos;
- while (hb_list_bytes(pv->list) > pv->input_samples * sizeof(float))
+ while (hb_list_bytes(pv->list) >= pv->input_samples * sizeof(float))
{
int ret;