media/libmkv/bock_fix.patch

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 diff --git a/third_party/libmkv/WebMElement.h b/third_party/libmkv/WebMElement.h
     2 index d9ad0a0..717e739 100644
     3 --- a/third_party/libmkv/WebMElement.h
     4 +++ b/third_party/libmkv/WebMElement.h
     5 @@ -10,11 +10,6 @@
     6  #ifndef MKV_CONTEXT_HPP
     7  #define MKV_CONTEXT_HPP 1
     9 -void writeSimpleBock(EbmlGlobal *ebml, unsigned char trackNumber, unsigned short timeCode,
    10 -                     int isKeyframe, unsigned char lacingFlag, int  discardable,
    11 -                     unsigned char *data, unsigned long dataLength);
    12 -
    13 -
    14  // these are helper functions
    15  void writeHeader(EbmlGlobal *ebml);
    16  void writeSegmentInformation(EbmlGlobal *ebml, EbmlLoc *startInfo, unsigned long timeCodeScale, double duration);

mercurial