[vlc-commits] avi: ReadFrame: Take header size as unsigned
Hugo Beauzée-Luyssen
git at videolan.org
Wed Nov 22 15:08:27 CET 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Nov 22 15:06:24 2017 +0100| [7a86528cc305631562a307b6b249fe072848c322] | committer: Hugo Beauzée-Luyssen
avi: ReadFrame: Take header size as unsigned
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7a86528cc305631562a307b6b249fe072848c322
---
modules/demux/avi/avi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index cd836607a6..d11628839a 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -892,7 +892,7 @@ error:
*****************************************************************************/
static block_t * ReadFrame( demux_t *p_demux, const avi_track_t *tk,
- const int i_header, const int i_size )
+ const unsigned int i_header, const int i_size )
{
block_t *p_frame = vlc_stream_Block( p_demux->s, __EVEN( i_size ) );
if ( !p_frame ) return p_frame;
More information about the vlc-commits
mailing list