Commit 52579fc2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vmem: remove write-only picture_sys_t.sys

Note that the malloc() and indirection must be retained because
picture_NewFromResource() requires it.
parent 31872a22
...@@ -82,7 +82,6 @@ vlc_module_end() ...@@ -82,7 +82,6 @@ vlc_module_end()
* Local prototypes * Local prototypes
*****************************************************************************/ *****************************************************************************/
struct picture_sys_t { struct picture_sys_t {
vout_display_sys_t *sys;
void *id; void *id;
}; };
...@@ -280,7 +279,6 @@ static picture_pool_t *Pool(vout_display_t *vd, unsigned count) ...@@ -280,7 +279,6 @@ static picture_pool_t *Pool(vout_display_t *vd, unsigned count)
count = i; count = i;
break; break;
} }
picsys->sys = sys;
picsys->id = NULL; picsys->id = NULL;
picture_resource_t rsc = { .p_sys = picsys }; picture_resource_t rsc = { .p_sys = picsys };
......
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