vlc/vlc-1.2 | branch: master | Rafaël Carré <[email protected]> | Sun Dec  4 
00:06:36 2011 -0500| [67aa838e985b77df9f12a45103ac4269b63bf2cf] | committer: 
Jean-Baptiste Kempf

vout_new_buffer: fix signed / unsigned comparison
(cherry picked from commit 780203a14a82054a6a784711bd6d6b19e6a9d4bc)

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 src/input/decoder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index ad6d37c..4defa13 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -2348,7 +2348,7 @@ static picture_t *vout_new_buffer( decoder_t *p_dec )
         if( vlc_fourcc_IsYUV( fmt.i_chroma ) )
         {
             const vlc_chroma_description_t *dsc = 
vlc_fourcc_GetChromaDescription( fmt.i_chroma );
-            for( int i = 0; dsc && i < dsc->plane_count; i++ )
+            for( unsigned int i = 0; dsc && i < dsc->plane_count; i++ )
             {
                 while( fmt.i_width % dsc->p[i].w.den )
                     fmt.i_width++;

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

Reply via email to