summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/common.c b/libhb/common.c
index a2fdc4b32..c85bd21df 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -2889,7 +2889,7 @@ hb_buffer_t* hb_buffer_list_rem_tail(hb_buffer_list_t *list)
else if (list->tail != NULL)
{
hb_buffer_t *end = list->head;
- while (end != NULL && end->next != list->tail)
+ while (end->next != list->tail)
{
end = end->next;
}