vlc | branch: master | Felix Paul Kühne <[email protected]> | Mon Mar  4 
18:19:47 2013 +0100| [031a54b4b9acbbc500f185bb94a75b40ff5fce72] | committer: 
Felix Paul Kühne

opengl: fixed compilation warning

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

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

diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index f12008b..c67cc19 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -664,7 +664,7 @@ int vout_display_opengl_Prepare(vout_display_opengl_t *vgl,
         glBindTexture(vgl->tex_target, vgl->texture[0][j]);
 
 #ifndef GL_UNPACK_ROW_LENGTH
-        if ( (picture->p[j].i_pitch / picture->p[j].i_pixel_pitch) !=
+        if ( (picture->p[j].i_pitch / picture->p[j].i_pixel_pitch) != 
(unsigned int)
              ( picture->format.i_visible_width * vgl->chroma->p[j].w.num / 
vgl->chroma->p[j].w.den ) )
         {
             uint8_t *new_plane = malloc( picture->format.i_visible_width * 
vgl->fmt.i_visible_height * vgl->chroma->p[j].h.num / (vgl->chroma->p[j].h.den 
*  vgl->chroma->p[j].w.den ) );

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to