Added canSeek* functionality to DTSC::Stream, minor optimization to MP4 lib.

This commit is contained in:
Thulinma 2013-03-18 17:36:45 +01:00
parent 00d06fe293
commit f2b4e1d1a4
3 changed files with 39 additions and 1 deletions

View file

@ -2180,7 +2180,7 @@ namespace MP4 {
if (uuid_string[j] == '-'){
continue;
}
data[8+i/2] |= (c2hex(uuid_string[j]) << (4-(4*(i%2))));
data[8+i/2] |= (c2hex(uuid_string[j]) << ((~i & 1) << 2));
++i;
}
}