[vlc-commits] vmem: remove write-only picture_sys_t.sys

Rémi Denis-Courmont git at videolan.org
Mon Feb 8 22:32:49 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Feb  8 23:31:36 2016 +0200| [52579fc278454c98cb30a176c3b42f274aadc52e] | committer: 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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=52579fc278454c98cb30a176c3b42f274aadc52e
---

 modules/video_output/vmem.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/video_output/vmem.c b/modules/video_output/vmem.c
index 7433f96..64aefa1 100644
--- a/modules/video_output/vmem.c
+++ b/modules/video_output/vmem.c
@@ -82,7 +82,6 @@ vlc_module_end()
  * Local prototypes
  *****************************************************************************/
 struct picture_sys_t {
-    vout_display_sys_t *sys;
     void *id;
 };
 
@@ -280,7 +279,6 @@ static picture_pool_t *Pool(vout_display_t *vd, unsigned count)
             count = i;
             break;
         }
-        picsys->sys = sys;
         picsys->id = NULL;
 
         picture_resource_t rsc = { .p_sys = picsys };



More information about the vlc-commits mailing list