libmatroska-kaxblock.patch
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:1k
源码类别:

midi

开发平台:

Unix_Linux

  1. diff -ruN libmatroska-0.8.1/matroska/KaxBlock.h libmatroska/matroska/KaxBlock.h
  2. --- libmatroska-0.8.1/matroska/KaxBlock.h 2007-01-14 18:20:35.000000000 +0100
  3. +++ libmatroska/matroska/KaxBlock.h 2008-09-23 23:05:55.000000000 +0200
  4. @@ -367,6 +367,7 @@
  5.   public:
  6.   KaxBlockVirtual() :ParentCluster(NULL) {Data = DataBlock; Size = countof(DataBlock);}
  7.   KaxBlockVirtual(const KaxBlockVirtual & ElementToClone);
  8. +                ~KaxBlockVirtual() { if( Data == DataBlock ) SetBuffer( NULL, 0 ); };
  9.   static EbmlElement & Create() {return *(new KaxBlockVirtual);}
  10.   const EbmlCallbacks & Generic() const {return ClassInfos;}
  11.   static const EbmlCallbacks ClassInfos;