[asterisk-scf-commits] asterisk-scf/integration/matroska.git branch "matroska2_build_integration" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Jan 4 09:44:02 CST 2012


branch "matroska2_build_integration" has been updated
       via  b3b75915f90058ce52dfee63d01843e3039e98c2 (commit)
      from  8c0a1368e3b3e2f333b71d2e1ca78213664d2ea9 (commit)

Summary of changes:
 libmatroska2/matroskamain.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit b3b75915f90058ce52dfee63d01843e3039e98c2
Author: Brent Eagles <beagles at digium.com>
Date:   Wed Jan 4 12:12:43 2012 -0330

    Fix what looks like a cut-n-paste bug in the writing code.

diff --git a/libmatroska2/matroskamain.c b/libmatroska2/matroskamain.c
index b940155..a44f1a9 100644
--- a/libmatroska2/matroskamain.c
+++ b/libmatroska2/matroskamain.c
@@ -206,6 +206,8 @@ static err_t CheckCompression(matroska_block *Block)
     return ERR_NONE;
 }
 
+
+
 err_t MATROSKA_LinkBlockWithReadTracks(matroska_block *Block, ebml_master *Tracks, bool_t UseForWriteToo)
 {
     ebml_element *Track;
@@ -292,7 +294,12 @@ err_t MATROSKA_LinkBlockWriteTrack(matroska_block *Block, ebml_master *Track)
         Node_SET(Block,MATROSKA_BLOCK_WRITE_TRACK,&Track);
         if (WasLinked)
             return ERR_NONE;
-        return CheckCompression(Block);
+        /*
+         *
+         * XXX  return CheckCompression(Block); Bug in existing code base.
+         *
+         */
+        return ERR_NONE;
     }
     return ERR_INVALID_DATA;
 }

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/matroska.git



More information about the asterisk-scf-commits mailing list