[x265-commits] [x265] tcombitstream: bug fix for count StartCodeEmulations to c...

Gopu Govindaswamy gopu at multicorewareinc.com
Tue Oct 8 08:49:26 CEST 2013


details:   http://hg.videolan.org/x265/rev/9b3a427a1009
branches:  
changeset: 4274:9b3a427a1009
user:      Gopu Govindaswamy <gopu at multicorewareinc.com>
date:      Tue Oct 08 11:12:12 2013 +0530
description:
tcombitstream: bug fix for count StartCodeEmulations to calculate the substream size

diffstat:

 source/Lib/TLibCommon/TComBitStream.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d71078917df0 -r 9b3a427a1009 source/Lib/TLibCommon/TComBitStream.cpp
--- a/source/Lib/TLibCommon/TComBitStream.cpp	Mon Oct 07 12:48:32 2013 +0530
+++ b/source/Lib/TLibCommon/TComBitStream.cpp	Tue Oct 08 11:12:12 2013 +0530
@@ -187,7 +187,7 @@ int TComOutputBitstream::countStartCodeE
             && rbsp[count + 1] == 0x00 && rbsp[count] == 0x00)
         {
             cnt++;
-            count = count + 3;
+            count = count + 1;
         }
     }
     return cnt;


More information about the x265-commits mailing list