[vlc-commits] avcodec: fix warning

Rémi Denis-Courmont git at videolan.org
Tue Jul 23 21:15:44 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jul 23 21:44:05 2013 +0300| [82c6d7891ea6dbfa75a66f68ec7a3062fedf27aa] | committer: Rémi Denis-Courmont

avcodec: fix warning

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

 modules/codec/avcodec/video.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 18c7917..7ecf90c 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -608,7 +608,7 @@ picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
             block_Release( p_block );
             return NULL;
         }
-        else if( i_used > p_block->i_buffer ||
+        else if( (unsigned)i_used > p_block->i_buffer ||
                  p_context->thread_count > 1 )
         {
             i_used = p_block->i_buffer;



More information about the vlc-commits mailing list