[vlc-commits] demux: asf: use INT64_MAX

Francois Cartegnie git at videolan.org
Sat Dec 7 19:46:08 CET 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Dec  7 19:45:17 2013 +0100| [abb20fc36122e9125f770b49c7becae717b8cb9f] | committer: Francois Cartegnie

demux: asf: use INT64_MAX

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

 modules/demux/asf/asf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c
index 7536bff..f234754 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -667,7 +667,7 @@ static int DemuxPayload(demux_t *p_demux, struct asf_packet_t *pkt, int i_payloa
     uint32_t i_payload_data_length = 0;
     uint32_t i_temp_payload_length = 0;
     bool b_preroll_done = false;
-    p_sys->p_fp->i_preroll = __MIN( p_sys->p_fp->i_preroll, __INT64_MAX__ );
+    p_sys->p_fp->i_preroll = __MIN( p_sys->p_fp->i_preroll, INT64_MAX );
 
     /* Non compressed */
     if( i_replicated_data_length > 7 ) // should be at least 8 bytes



More information about the vlc-commits mailing list