@@ -16,7 +16,7 @@ Pod::Spec.new do |spec|
#
spec.name = "QGVAPlayer"
- spec.version = "1.0.13"
+ spec.version = "1.0.14"
spec.summary = "video animation player."
spec.platform = :ios, "8.0"
@@ -181,7 +181,7 @@ unsigned long long dataConvertToUInt64(NSData *data) {
}
const char *bytes = data.bytes;
for (int i = 0; i < 8; i++) {
- largeSize += bytes[i] << (8 - i - 1) * 8;
+ largeSize += ((bytes[i]&0xff) << (8 - i - 1) * 8);
return largeSize;
@@ -105,6 +105,9 @@ void qg_VAP_Logger_handler(VAPLogLevel level, const char* file, int line, const
//单纯播放的接口
//[mp4View playHWDMp4:resPath];
//指定素材混合模式,重复播放次数,delegate的接口
+
+ //注意若素材不含vapc box,则必须用调用如下接口设置enable才可播放
+ //[mp4View enableOldVersion:YES];
[mp4View playHWDMP4:resPath repeatCount:-1 delegate:self];