[vlc-devel] commit: MP4: kill a warning (Jean-Baptiste Kempf )
git version control
git at videolan.org
Wed Aug 19 23:43:23 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 19 23:39:37 2009 +0200| [019710f551f4f5863e79aa1daf63bce2d5250ead] | committer: Jean-Baptiste Kempf
MP4: kill a warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=019710f551f4f5863e79aa1daf63bce2d5250ead
---
modules/demux/mp4/mp4.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 0636079..c3f7e50 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -666,7 +666,7 @@ static int Demux( demux_t *p_demux )
uint32_t p_key[4];
drms_get_p_key( tk->p_drms, p_key );
- for( int i_pos = tk->p_skcr->data.p_skcr->i_init; i_pos < p_block->i_buffer; )
+ for( size_t i_pos = tk->p_skcr->data.p_skcr->i_init; i_pos < p_block->i_buffer; )
{
int n = __MIN( tk->p_skcr->data.p_skcr->i_encr, p_block->i_buffer - i_pos );
drms_decrypt( tk->p_drms, (uint32_t*)&p_block->p_buffer[i_pos], n, p_key );
More information about the vlc-devel
mailing list