[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.2,1.7.2.2.10.1
From: scaijun () helixcommunity ! org
Date: 2011-01-26 0:13:12
Message-ID: 201101260013.p0Q0DPXd029712 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/datatype/avi/fileformat
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv5970
Modified Files:
Tag: hxclient_3_6_1_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.2
retrieving revision 1.7.2.2.10.1
diff -u -d -r1.7.2.2 -r1.7.2.2.10.1
--- aviindx.cpp 3 Dec 2008 01:35:01 -0000 1.7.2.2
+++ aviindx.cpp 26 Jan 2011 00:13:09 -0000 1.7.2.2.10.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