[vlc-commits] AndroidSurface: fix compilation regression from ffcfa6daa7

Jean-Baptiste Kempf git at videolan.org
Fri Jul 19 13:56:13 CEST 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jul 19 13:55:45 2013 +0200| [f9bb9f99537d327ef0741b223426cb038b73fa1c] | committer: Jean-Baptiste Kempf

AndroidSurface: fix compilation regression from ffcfa6daa7

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

 modules/video_output/androidsurface.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/androidsurface.c b/modules/video_output/androidsurface.c
index 46e5463..848591f 100644
--- a/modules/video_output/androidsurface.c
+++ b/modules/video_output/androidsurface.c
@@ -222,7 +222,7 @@ static int Open(vlc_object_t *p_this)
     msg_Dbg(vd, "Pixel format %4.4s", (char*)&fmt.i_chroma);
 
     /* Create the associated picture */
-    picture_sys_t picsys = malloc(sizeof(*picsys));
+    picture_sys_t *picsys = malloc(sizeof(*picsys));
     if (unlikely(picsys == NULL))
         goto enomem;
     picsys->sys = sys;



More information about the vlc-commits mailing list