Showing the changes to test/api/encoder_test.cpp (1 of 8 files). Show all
Unified · Split
| @@ -7,7 +7,7 @@ static void UpdateHashFromFrame(const SFrameBSInfo& info, SHA1Context* ctx) { · 6 unmodified lines | ||
| 7 | 7 | const SLayerBSInfo& layerInfo = info.sLayerInfo[i]; |
| 8 | 8 | int layerSize = 0; |
| 9 | 9 | for (int j = 0; j < layerInfo.iNalCount; ++j) { |
| 10 | − layerSize += layerInfo.iNalLengthInByte[j]; | |
| 10 | + layerSize += layerInfo.pNalLengthInByte[j]; | |
| 11 | 11 | } |
| 12 | 12 | SHA1Input(ctx, layerInfo.pBsBuf, layerSize); |
| 13 | 13 | } |