Ticket #1354: 1_enc.patch

File 1_enc.patch, 872 bytes (added by kolya, 10 years ago)
  • source/Lib/TLibEncoder/TEncCavlc.cpp

    diff --git a/source/Lib/TLibEncoder/TEncCavlc.cpp b/source/Lib/TLibEncoder/TEncCavlc.cpp
    index a459a81..6ad9b25 100644
    a b  
    10861086}
    10871087Void TEncCavlc::codeProfileTier( const ProfileTierLevel* ptl )
    10881088{
    1089   WRITE_CODE( ptl->getProfileSpace(), 2 ,     "general_profile_space[]");
    1090   WRITE_FLAG( ptl->getTierFlag()==Level::HIGH, "general_tier_flag[]"    );
    1091   WRITE_CODE( Int(ptl->getProfileIdc()), 5 ,  "general_profile_idc[]"  );
     1089  WRITE_CODE( ptl->getProfileSpace(), 2 ,     "general_profile_space");
     1090  WRITE_FLAG( ptl->getTierFlag()==Level::HIGH, "general_tier_flag"    );
     1091  WRITE_CODE( Int(ptl->getProfileIdc()), 5 ,  "general_profile_idc"  );
    10921092  for(Int j = 0; j < 32; j++)
    10931093  {
    10941094    WRITE_FLAG( ptl->getProfileCompatibilityFlag(j), "XXX_profile_compatibility_flag[][j]");