-
The previous code would read out-of-bounds if the scheduled queue was full, since the code expects there to be at least one NULL value among the fields (something which is not guaranteed). Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7c5f750b