[Ffmpeg-cvslog] r8770 - trunk/libavformat/mov.c

bcoudurier subversion
Sat Apr 21 20:01:48 CEST 2007


Author: bcoudurier
Date: Sat Apr 21 20:01:47 2007
New Revision: 8770

Modified:
   trunk/libavformat/mov.c

Log:
use INT64_MAX

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	(original)
+++ trunk/libavformat/mov.c	Sat Apr 21 20:01:47 2007
@@ -223,7 +223,7 @@ static int mov_read_default(MOVContext *
     a.offset = atom.offset;
 
     if (atom.size < 0)
-        atom.size = 0x7fffffffffffffffLL;
+        atom.size = INT64_MAX;
     while(((total_size + 8) < atom.size) && !url_feof(pb) && !err) {
         a.size = atom.size;
         a.type=0L;
@@ -1482,7 +1482,7 @@ static int mov_read_header(AVFormatConte
     if(!url_is_streamed(pb)) /* .mov and .mp4 aren't streamable anyway (only progressive download if moov is before mdat) */
         atom.size = url_fsize(pb);
     else
-        atom.size = 0x7FFFFFFFFFFFFFFFLL;
+        atom.size = INT64_MAX;
 
     /* check MOV header */
     err = mov_read_default(mov, pb, atom);




More information about the ffmpeg-cvslog mailing list