Commit 01862762 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

media_item: Fix copy

parent 47ae2c92
......@@ -52,6 +52,7 @@ media_item_copy(const media_item* p_item)
media_item* p_new = media_item_create(p_item->psz_path, p_item->i_type);
if (p_new == NULL)
return NULL;
p_new->i_id = p_item->i_id;
p_new->i_duration = p_item->i_duration;
p_new->i_w = p_item->i_w;
p_new->i_h = p_item->i_h;
......
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