Commit 6c6beb62 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

MKV: kill a sign warning

parent f5bb58e3
...@@ -979,7 +979,7 @@ bool matroska_segment_c::Select( mtime_t i_start_time ) ...@@ -979,7 +979,7 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
{ {
/* Very unlikely yet possible: bug #5659*/ /* Very unlikely yet possible: bug #5659*/
size_t maxlen = p_tk->i_extra_data - sizeof( VLC_BITMAPINFOHEADER ); size_t maxlen = p_tk->i_extra_data - sizeof( VLC_BITMAPINFOHEADER );
p_tk->fmt.i_extra = ( p_tk->fmt.i_extra < maxlen )? p_tk->fmt.i_extra = ( (unsigned)p_tk->fmt.i_extra < maxlen )?
p_tk->fmt.i_extra : maxlen; p_tk->fmt.i_extra : maxlen;
p_tk->fmt.p_extra = xmalloc( p_tk->fmt.i_extra ); p_tk->fmt.p_extra = xmalloc( p_tk->fmt.i_extra );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment