[vlc-commits] packetizer: mpegvideo: use unsigned variable for reading bits
Ilkka Ollakka
git at videolan.org
Tue May 10 20:34:46 CEST 2016
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | 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:
More information about the vlc-commits
mailing list