[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-datatype-cvs
Subject: [Datatype-cvs] avi/fileformat aviindx.cpp,1.7.2.3,1.7.2.3.12.1
From: scaijun () helixcommunity ! org
Date: 2011-01-26 0:16:15
Message-ID: 201101260016.p0Q0GGDf029850 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/datatype/avi/fileformat
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv6642
Modified Files:
Tag: hxclient_3_6_2_atlas
aviindx.cpp
Log Message:
Load all available index slices when finding key chunck
Index: aviindx.cpp
===================================================================
RCS file: /cvsroot/datatype/avi/fileformat/aviindx.cpp,v
retrieving revision 1.7.2.3
retrieving revision 1.7.2.3.12.1
diff -u -d -r1.7.2.3 -r1.7.2.3.12.1
--- aviindx.cpp 23 Oct 2009 16:05:07 -0000 1.7.2.3
+++ aviindx.cpp 26 Jan 2011 00:16:12 -0000 1.7.2.3.12.1
@@ -339,7 +339,12 @@
ulClosestStreamChunk = pStream->ulLastKeyChunk;
SetMinimumChunkInterest(usStream, pStream->ulLastKeyChunk);
}
-
+ // If we havent loaded the index slice we are looking for, then we \
should try to load it + if((ulChunk >= pStream->ulSliceEndChunk) && \
CanLoadSlice()) + {
+ GetNextSlice();
+ return FindClosestKeyChunk(usStream, ulChunk, ulClosestOffset, \
ulClosestStreamChunk); + }
return ulChunk >= pStream->ulSliceEndChunk ? HXR_NOT_INDEXABLE : HXR_OK;
}
}
_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic