[x265] [PATCH] tcombitstream: bug fix for count StartCodeEmulations to calculate the substream size
Gopu Govindaswamy
gopu at multicorewareinc.com
Tue Oct 8 07:42:29 CEST 2013
# HG changeset patch
# User Gopu Govindaswamy <gopu at multicorewareinc.com>
# Date 1381210932 -19800
# Node ID 9b3a427a1009d1853bbdc30abe1fd891864e6b38
# Parent d71078917df01e92605158a13b45ab35ee7cfc1c
tcombitstream: bug fix for count StartCodeEmulations to calculate the substream size
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 @@
&& rbsp[count + 1] == 0x00 && rbsp[count] == 0x00)
{
cnt++;
- count = count + 3;
+ count = count + 1;
}
}
return cnt;
More information about the x265-devel
mailing list