vlc | branch: master | Ilkka Ollakka <[email protected]> | Tue May 10 21:32:27 
2016 +0300| [e05255887f701442ad2c51ee82f790c61b97b52a] | committer: Ilkka 
Ollakka

packetizer: mpegvideo: use unsigned variable for reading bits

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

 modules/packetizer/mpegvideo.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/packetizer/mpegvideo.c b/modules/packetizer/mpegvideo.c
index 769a7b2..67fb67c 100644
--- a/modules/packetizer/mpegvideo.c
+++ b/modules/packetizer/mpegvideo.c
@@ -546,9 +546,9 @@ static block_t *ParseMPEGBlock( decoder_t *p_dec, block_t 
*p_frag )
 
         if( contains_color_description )
         {
-            int8_t color_primaries = p_frag->p_buffer[5];
-            int8_t color_transfer  = p_frag->p_buffer[6];
-            int8_t color_matrix    = p_frag->p_buffer[7];
+            uint8_t color_primaries = p_frag->p_buffer[5];
+            uint8_t color_transfer  = p_frag->p_buffer[6];
+            uint8_t color_matrix    = p_frag->p_buffer[7];
             switch( color_primaries )
             {
                 case 1:

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

Reply via email to