| 1 | Index: C:/users/gordon/work/265/HM-7.0-dev-hhi/source/Lib/TLibEncoder/TEncCavlc.cpp |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- C:/users/gordon/work/265/HM-7.0-dev-hhi/source/Lib/TLibEncoder/TEncCavlc.cpp (revision 2443) |
|---|
| 4 | +++ C:/users/gordon/work/265/HM-7.0-dev-hhi/source/Lib/TLibEncoder/TEncCavlc.cpp (working copy) |
|---|
| 5 | @@ -1068,7 +1068,7 @@ |
|---|
| 6 | offsetLenMinus1 = 0; |
|---|
| 7 | while (1) |
|---|
| 8 | { |
|---|
| 9 | - if (maxOffset >= (1 << offsetLenMinus1) ) |
|---|
| 10 | + if (maxOffset >= (1 << (offsetLenMinus1+1)) ) |
|---|
| 11 | { |
|---|
| 12 | offsetLenMinus1++; |
|---|
| 13 | if ( offsetLenMinus1 > 32 ) |
|---|