[vlc-commits] gl: android: fix build with last typedef *_sys_t changes

Thomas Guillem git at videolan.org
Sat May 5 11:12:44 CEST 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Sat May  5 11:08:59 2018 +0200| [6ac7f0cdc3d1f438f312ee448ec48761e970f306] | committer: Thomas Guillem

gl: android: fix build with last typedef *_sys_t changes

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

 modules/video_output/opengl/converter_android.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/video_output/opengl/converter_android.c b/modules/video_output/opengl/converter_android.c
index 6eb21a4633..c196c2873b 100644
--- a/modules/video_output/opengl/converter_android.c
+++ b/modules/video_output/opengl/converter_android.c
@@ -134,13 +134,14 @@ tc_anop_update(const opengl_tex_converter_t *tc, GLuint *textures,
                const GLsizei *tex_width, const GLsizei *tex_height,
                picture_t *pic, const size_t *plane_offset)
 {
+    picture_sys_t *p_sys = pic->p_sys;
     (void) tex_width; (void) tex_height; (void) plane_offset;
     assert(textures[0] != 0);
 
     if (plane_offset != NULL)
         return VLC_EGENERIC;
 
-    if (!pic->p_sys->b_locked)
+    if (!p_sys->b_locked)
         return VLC_SUCCESS;
 
     struct priv *priv = tc->priv;



More information about the vlc-commits mailing list