Commit c2b991aa authored by a1ex's avatar a1ex
Browse files

mlv_play: fix crash on empty/invalid MLVs (mlv_play_xref_sort)

--HG--
branch : unified
parent 745c97285ac2
......@@ -873,6 +873,8 @@ static void mlv_play_xref_resize(frame_xref_t **table, uint32_t entries, uint32_
static void mlv_play_xref_sort(frame_xref_t *table, uint32_t entries)
{
if (!entries) return;
uint32_t n = entries;
do
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment