Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | diff --git a/third_party/libmkv/WebMElement.h b/third_party/libmkv/WebMElement.h |
michael@0 | 2 | index d9ad0a0..717e739 100644 |
michael@0 | 3 | --- a/third_party/libmkv/WebMElement.h |
michael@0 | 4 | +++ b/third_party/libmkv/WebMElement.h |
michael@0 | 5 | @@ -10,11 +10,6 @@ |
michael@0 | 6 | #ifndef MKV_CONTEXT_HPP |
michael@0 | 7 | #define MKV_CONTEXT_HPP 1 |
michael@0 | 8 | |
michael@0 | 9 | -void writeSimpleBock(EbmlGlobal *ebml, unsigned char trackNumber, unsigned short timeCode, |
michael@0 | 10 | - int isKeyframe, unsigned char lacingFlag, int discardable, |
michael@0 | 11 | - unsigned char *data, unsigned long dataLength); |
michael@0 | 12 | - |
michael@0 | 13 | - |
michael@0 | 14 | // these are helper functions |
michael@0 | 15 | void writeHeader(EbmlGlobal *ebml); |
michael@0 | 16 | void writeSegmentInformation(EbmlGlobal *ebml, EbmlLoc *startInfo, unsigned long timeCodeScale, double duration); |