[vlc-commits] [Git][videolan/vlc][master] 2 commits: interop_android: fix Wincompatible-function-pointer-types

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Thu Mar 2 10:32:20 UTC 2023



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
b1e64df7 by Thomas Guillem at 2023-03-02T09:59:13+00:00
interop_android: fix Wincompatible-function-pointer-types

- - - - -
71c6ce8d by Thomas Guillem at 2023-03-02T09:59:13+00:00
interop_android: fix Wunused-variable

- - - - -


1 changed file:

- modules/video_output/opengl/interop_android.c


Changes:

=====================================
modules/video_output/opengl/interop_android.c
=====================================
@@ -84,17 +84,16 @@ static int
 tc_anop_allocate_textures(const struct vlc_gl_interop *interop, uint32_t textures[],
                           const int32_t tex_width[], const int32_t tex_height[])
 {
-    (void) tex_width; (void) tex_height;
-    struct priv *priv = interop->priv;
-    assert(textures[0] != 0);
+    (void) interop; (void) tex_width; (void) tex_height;
+    assert(textures[0] != 0); (void) textures;
 
     return VLC_SUCCESS;
 }
 
 static int
-tc_anop_update(struct vlc_gl_interop *interop, uint32_t textures[],
+tc_anop_update(const struct vlc_gl_interop *interop, uint32_t textures[],
                const int32_t tex_width[], const int32_t tex_height[],
-               picture_t *pic, const size_t *plane_offset)
+               picture_t *pic, const size_t plane_offset[])
 {
     struct priv *priv = interop->priv;
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/e3f623c019cf41977efcab2557eda8e1f305e6ad...71c6ce8d055bd59f73a07ce4a7061c42c37fb083

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/e3f623c019cf41977efcab2557eda8e1f305e6ad...71c6ce8d055bd59f73a07ce4a7061c42c37fb083
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list