Make Thread Sanitizer happy.

This commit is contained in:
Damiano Galassi committed 2017-06-20 16:17:17 +02:00
1 parent 4f72d8aabd
commit ad673993f5
17 files changed
+89 -53

No files matched your search

+2 -2
View File
@@ -937,7 +937,7 @@
demuxHelper = track.muxer_helper->demuxer_context;
AVAssetReaderOutput *assetReaderOutput = demuxHelper->assetReaderOutput;
while (!_cancelled) {
while (!self.isCancelled) {
CMSampleBufferRef sampleBuffer = [assetReaderOutput copyNextSampleBuffer];
@@ -1205,7 +1205,7 @@
}
CFRelease(sampleBuffer);
_progress = (((CGFloat) currentDataLength / totalDataLength ) * 100);
self.progress = (((CGFloat) currentDataLength / totalDataLength ) * 100);
} else {
break;