[vlc-devel] commit: vc1: Correct unsigned use. (Pierre d'Herbemont )

git version control git at videolan.org
Thu Aug 20 11:47:05 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Aug 20 11:38:51 2009 +0200| [f901bb491e933a06aff842e0859033b98399719d] | committer: Pierre d'Herbemont 

vc1: Correct unsigned use.

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

 modules/packetizer/vc1.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/packetizer/vc1.c b/modules/packetizer/vc1.c
index 3dc274e..9651bae 100644
--- a/modules/packetizer/vc1.c
+++ b/modules/packetizer/vc1.c
@@ -203,7 +203,7 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
     if( p_sys->b_check_startcode && pp_block && *pp_block )
     {
         /* Fix syntax for (some?) VC1 from asf */
-        const int i_startcode = sizeof(p_vc1_startcode);
+        const unsigned i_startcode = sizeof(p_vc1_startcode);
 
         block_t *p_block = *pp_block;
         if( p_block->i_buffer > 0 &&




More information about the vlc-devel mailing list